Mapreduce job failure: "Expected exactly 6 arguments..."

When running a Revolution R Enterprise script in a Hadoop compute context, the mapreduce task fails with an error similar to:
2014-12-08 18:19:26,553 WARN [main] util.NativeCodeLoader (<clinit>(62)) - Unable to load native-hadoop library for your platform... using builtin-java classes where applicable

DEBUG: allArgs = [-Dmapred.reduce.tasks=1, /user/RevoShare/user/4004D2ACAA984048920BDC7A87FA823D/.input, /user/RevoShare/user/4004D2ACAA984048920BDC7A87FA823D/IRO.iro, /user/RevoShare/AirOnTimeCSV2012/airOT201201.csv, /user/RevoShare/AirOnTimeCSV2012/airOT201202.csv, /user/RevoShare/AirOnTimeCSV2012/airOT201203.csv, /user/RevoShare/AirOnTimeCSV2012/airOT201204.csv, /user/RevoShare/AirOnTimeCSV2012/airOT201205.csv, /user/RevoShare/AirOnTimeCSV2012/airOT201206.csv, /user/RevoShare/AirOnTimeCSV2012/airOT201207.csv, /user/RevoShare/AirOnTimeCSV2012/airOT201208.csv, /user/RevoShare/AirOnTimeCSV2012/airOT201209.csv, /user/RevoShare/AirOnTimeCSV2012/airOT201210.csv, /user/RevoShare/AirOnTimeCSV2012/airOT201211.csv, /user/RevoShare/AirOnTimeCSV2012/airOT201212.csv, , 8020, /usr/bin/Revoscript]

Expected exactly 6 arguments: <inputObjectPath> <objectObjectPath> <inputFile> <nameNode> <port> <revoPath>

HadoopMR output object '/user/RevoShare/user/4004D2ACAA984048920BDC7A87FA823D/IRO.iro' does not exist. Job has failed.

Error in rxCall("RxSummary", params) :

Error: Error in rxCall("RxSummary", params) :
This error is generally caused by a mismatched version of or missing scaleR-hadoop-0.1-SNAPSHOT.jar and should normally be found in /usr/lib/hadoop/lib/ as a result of a properly installing Revolution R Enterprise in a Hadoop cluster. Confirm that all instances of scaleR-hadoop-0.1-SNAPSHOT.jar in the cluster are the version matching the release of Revolution R Enterprise and are not left over from installations of older releases. Also confirm they are in the proper locations to be found in the library path in the Hadoop/RRE environment. Refer to the Revolution R Hadoop Configuration Guide for more information.
Note This is a "FAST PUBLISH" article created directly from within the Microsoft support organization. The information contained herein is provided as-is in response to emerging issues. As a result of the speed in making it available, the materials may include typographical errors and may be revised at any time without notice. See Terms of Use for other considerations.

Article ID: 3104139 - Last Review: 11/01/2015 02:16:00 - Revision: 1.0

Revolution Analytics

  • KB3104139