Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.5.1
    • test
    • None

    Description

      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.

      $ ./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
      

      Attachments

        Issue Links

          Activity

            People

              bhavanki Bill Havanki
              kturner Keith Turner
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: