Hadoop MapReduce - Pig/Cassandra - Unable to create input splits -
i'm trying run mapreduce job pig , cassandra , error: error 2118: unable create input splits for: cassandra://constellation/logs
[solved] there environment variables missed set:
pig_rpc_port, pig_initial_address, pig_partitioner
/opt/cassandra-0.7.0-beta3/contrib/pig$ bin/pig_cassandra example-script.pig 10/11/15 17:38:26 info pig.main: logging error messages to: /opt/cassandra-0.7.0-beta3/contrib/pig/pig_1289839106859.log 2010-11-15 17:38:27,809 [main] info org.apache.pig.backend.hadoop.executionengine.hexecutionengine - connecting hadoop file system at: hdfs://hadoop-master-1.dkd.lan:8020 2010-11-15 17:38:29,756 [main] info org.apache.pig.backend.hadoop.executionengine.hexecutionengine - connecting map-reduce job tracker at: hadoop-master-1.dkd.lan:8021 2010-11-15 17:38:32,753 [main] info org.apache.pig.backend.hadoop.executionengine.hexecutionengine - (name: store(hdfs://hadoop-master-1.dkd.lan/tmp/temp657556636/tmp-375431593:org.apache.pig.builtin.binstorage) - 1-82 operator key: 1-82) 2010-11-15 17:38:32,960 [main] info org.apache.pig.backend.hadoop.executionengine.mapreducelayer.combineroptimizer - choosing move algebraic foreach combiner 2010-11-15 17:38:33,100 [main] info org.apache.pig.backend.hadoop.executionengine.mapreducelayer.multiqueryoptimizer - mr plan size before optimization: 3 2010-11-15 17:38:33,100 [main] info org.apache.pig.backend.hadoop.executionengine.mapreducelayer.multiqueryoptimizer - mr plan size after optimization: 3 2010-11-15 17:38:33,364 [main] info org.apache.pig.backend.hadoop.executionengine.mapreducelayer.jobcontrolcompiler - mapred.job.reduce.markreset.buffer.percent not set, set default 0.3 2010-11-15 17:38:38,771 [main] info org.apache.pig.backend.hadoop.executionengine.mapreducelayer.jobcontrolcompiler - setting single store job 2010-11-15 17:38:38,999 [main] info org.apache.pig.backend.hadoop.executionengine.mapreducelayer.mapreducelauncher - 1 map-reduce job(s) waiting submission. 2010-11-15 17:38:39,055 [thread-4] warn org.apache.hadoop.mapred.jobclient - use genericoptionsparser parsing arguments. applications should implement tool same. 2010-11-15 17:38:39,500 [main] info org.apache.pig.backend.hadoop.executionengine.mapreducelayer.mapreducelauncher - 0% complete 2010-11-15 17:38:40,340 [thread-4] info org.apache.hadoop.mapred.jobclient - cleaning staging area hdfs://hadoop-master-1.dkd.lan/var/lib/hadoop-0.20/cache/mapred/mapred/staging/dkd-sprenger/.staging/job_201011101636_0011 2010-11-15 17:38:40,356 [main] info org.apache.pig.backend.hadoop.executionengine.mapreducelayer.mapreducelauncher - 100% complete 2010-11-15 17:38:40,357 [main] error org.apache.pig.backend.hadoop.executionengine.mapreducelayer.mapreducelauncher - 1 map reduce job(s) failed! 2010-11-15 17:38:40,402 [main] info org.apache.pig.backend.hadoop.executionengine.mapreducelayer.mapreducelauncher - failed! 2010-11-15 17:38:40,517 [main] error org.apache.pig.tools.grunt.grunt - error 2997: unable recreate exception backend error: org.apache.pig.backend.executionengine.execexception: error 2118: unable create input splits for: cassandra://constellation/logs details @ logfile: /opt/cassandra-0.7.0-beta3/contrib/pig/pig_1289839106859.log
anyone has idea -> solved there environment variables missed set them.
enviroment: ubuntu server 10.4
versions: hadoop: 0.20 pig: 0.7 cassandra: 0.7.0 beta3
the asker updated question include answer:
[solved] there environment variables missed set:
pig_rpc_port, pig_initial_address, pig_partitioner
Comments
Post a Comment