Keith Turner created ACCUMULO-1988:
--------------------------------------
Summary: Example map reduce not running in functional test
Key: ACCUMULO-1988
URL: https://issues.apache.org/jira/browse/ACCUMULO-1988
Project: Accumulo
Issue Type: Sub-task
Reporter: Keith Turner
Fix For: 1.5.1
While merging fixes for ACCUMULO-1878 from 1.4 to 1.5 I noticed that example
map reduce jobs were failing and the return code was not checked. Below is an
example of one of the failing test.
{noformat}
$ ./test/system/auto/run.py -t example -v 10
.
.
.
DEBUG:test.auto:node1:
/home/kturner/workspace/accumulo-1.5.1-SNAPSHOT/bin/tool.sh
/home/kturner/workspace/accumulo-1.5.1-SNAPSHOT/lib/accumulo-examples-simple.jar
org.apache.accumulo.examples.simple.mapreduce.RowHash -i node1-37680 -z
localhost:2181 -u root -p secret -t sorted --column : sortedHashed
DEBUG:test.auto:Output from command: Usage:
org.apache.accumulo.examples.simple.mapreduce.RowHash [options]
Options:
-auths, --auths
the authorizations to use when reading or writing
Default: <empty string>
* --column
--debug
turn on TRACE-level log messages
Default: false
-h, -?, --help, -help
Default: false
-i, --instance
The name of the accumulo instance
-z, --keepers
Comma separated list of zookeeper hosts (host:port,host:port)
Default: localhost:2181
-fake, --mock
Use a mock Instance
Default: false
--password
Enter the connection password
--site-file
Read the given accumulo site file to find the accumulo instance
* -t, --table
table to use
-tc, --tokenClass
Token class
Default: org.apache.accumulo.core.client.security.tokens.PasswordToken
--trace
turn on distributed tracing
Default: false
-u, --user
Connection user
Default: kturner
-l
login properties in the format key=value. Reuse -l for each property
(prompt for properties if this option is missing
Syntax: -lkey=value
Default: {}
-p
Connection password
INFO:test.auto:Error output from command: Was passed main parameter
'sortedHashed' but no main parameter was defined
DEBUG:test.auto:Exit code: 1
{noformat}
--
This message was sent by Atlassian JIRA
(v6.1.4#6159)