EDP jobs execution fails using vanilla hadoop

Bug #1737858 reported by Shi Yan
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Sahara
New
Undecided
Unassigned

Bug Description

Using sahara-tests to run the scenario test on the pike version sahara, but the EDP job execution fails for most of them.

sahara-tests run below the six jobs, and the cluster creation and verification is successful:
pig_job mapreduce_job mapreduce_streaming_job
java_job
hive_job
spark_wordcount

only java job is succeeded, others get killed or error. Three types of errors from oozie are like below:

2017-12-13 00:57:17,956 WARN MapReduceActionExecutor:523 - SERVER[vanilla-271-24515547-master-oo-hs-sn-3af62c1b-0.novalocal] USER[hadoop] GROUP[-] TOKEN[] APP[job-wf] JOB[0000002-171213005432651-oozie-hado-W] ACTION[0000002-171213005432651-oozie-hado-W@job-node] Launcher exception: java.lang.ClassNotFoundException: Class org.apache.hadoop.fs.swift.snative.SwiftNativeFileSystem not found
java.lang.RuntimeException: java.lang.ClassNotFoundException: Class org.apache.hadoop.fs.swift.snative.SwiftNativeFileSystem not found

2017-12-13 00:59:09,140 WARN PigActionExecutor:523 - SERVER[vanilla-271-24515547-master-oo-hs-sn-3af62c1b-0.novalocal] USER[hadoop] GROUP[-] TOKEN[] APP[job-wf] JOB[0000003-171213005432651-oozie-hado-W] ACTION[0000003-171213005432651-oozie-hado-W@job-node] Launcher ERROR, reason: Main class [org.apache.oozie.action.hadoop.PigMain], exit code [2]

2017-12-13 00:57:43,741 WARN HiveActionExecutor:523 - SERVER[vanilla-271-24515547-master-oo-hs-sn-3af62c1b-0.novalocal] USER[hadoop] GROUP[-] TOKEN[] APP[job-wf] JOB[0000001-171213005432651-oozie-hado-W] ACTION[0000001-171213005432651-oozie-hado-W@job-node] Launcher exception: java.lang.RuntimeException: Unable to instantiate org.apache.hadoop.hive.metastore.HiveMetaStoreClient
java.lang.RuntimeException: java.lang.RuntimeException: Unable to instantiate org.apache.hadoop.hive.metastore.HiveMetaStoreClient

Tried to run the pig script manually on the existing cluster, the result is same. (Launcher error then get kiiled)

Revision history for this message
Luigi Toscano (ltoscano) wrote :

This seems interesting: org.apache.hadoop.fs.swift.snative.SwiftNativeFileSystem not found

Is the image generated using sahara-image-elements?

Revision history for this message
Shi Yan (yanshi-403) wrote :

yes, I am using the image generated from sahara-image-elements but with below change in diskimage-create.sh:

export DIB_HDFS_LIB_DIR="/opt/hadoop/share/hadoop/tools/lib"

Otherwise, the hadoop cluster will fail to start the datanode.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.