On Oracle Big Data Appliance the slf4j-api-*.jar is Not Found- The Pig Shell Raises "cannot access /opt/cloudera/parcels/CDH-5.3.0-1.cdh5.3.0.p0.30/bin/../lib/hive/lib/slf4j-api-*.jar: No such file or directory" (Doc ID 2014719.1)

Last updated on MARCH 05, 2017

Applies to:

Big Data Appliance Integrated Software - Version 3.0 to 4.1.0 [Release 3.0 to 4.1]
Linux x86-64

Goal

On Oracle Big Data Appliance (BDA) with CDH 5.3.1 or lower releases, the accessing the PIG shell raises:

$ /opt/cloudera/parcels/CDH-5.3.0-1.cdh5.3.0.p0.30/bin/pig
ls: cannot access /opt/cloudera/parcels/CDH-5.3.0-1.cdh5.3.0.p0.30/bin/../lib/hive/lib/slf4j-api-*.jar: No such file or directory
2015-05-22 07:27:48,731 [main] INFO org.apache.pig.Main - Apache Pig version 0.12.0-cdh5.3.0 (rexported) compiled Dec 16 2014, 19:11:10
2015-05-22 07:27:48,732 [main] INFO org.apache.pig.Main - Logging error messages to: /home/oracle/pig_1432304868729.log
2015-05-22 07:27:48,753 [main] INFO org.apache.pig.impl.util.Utils - Default bootup file /home/oracle/.pigbootup not found
2015-05-22 07:27:49,155 [main] INFO org.apache.hadoop.conf.Configuration.deprecation - mapred.job.tracker is deprecated. Instead, use mapreduce.jobtracker.address
2015-05-22 07:27:49,155 [main] INFO org.apache.hadoop.conf.Configuration.deprecation - fs.default.name is deprecated. Instead, use fs.defaultFS


The goal is to identify if the the error "slf4j-api-*.jar: No such file or directory" can be ignored, or if it indicates a problem.
 

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms