accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <>
Subject [jira] [Commented] (ACCUMULO-1988) Example map reduce not running in functional test
Date Wed, 08 Jan 2014 15:31:51 GMT


ASF subversion and git services commented on ACCUMULO-1988:

Commit 1413ebceaa227d2b97293635490be1d539d35531 in branch refs/heads/master from [~bhavanki]
[;h=1413ebc ]

ACCUMULO-1988 Fix calls to several example functional tests

- The Accumulo 1.5.x package no longer includes source, so the example test that
  builds a sharded index found no Java files. This commit changes the indexing to
  use the source code for examples, which is still included.
- The million-row TeraSortIngest example erroneously passed the -nk and -xk options
  twice. This commit changes the second set of options to -nv and -xv, which is
  what they should have been.
- The following example test intends to output to the tmp/nines file, but the
  required "--output" was missing in the command line. It was added.
- The example after that used to write row hashes to a separate table, but today the
  job writes to the same table. A vestigial command line argument for that table
  prevented the job from running, so it was removed.
- In between the last three tests, and between the last text and the next one, the script was removing and recreating the test table, which meant that
  all but the first test were running against zero rows. The table is now left
  intact between the four tests.

> Example map reduce not running in functional test
> -------------------------------------------------
>                 Key: ACCUMULO-1988
>                 URL:
>             Project: Accumulo
>          Issue Type: Sub-task
>          Components: test
>            Reporter: Keith Turner
>            Assignee: Bill Havanki
>             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/ -t example -v 10
>    .
>    .
>    .
> /home/kturner/workspace/accumulo-1.5.1-SNAPSHOT/bin/ /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
> from command: Usage: org.apache.accumulo.examples.simple.mapreduce.RowHash
>   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:
>         --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
> output from command: Was passed main parameter 'sortedHashed' but
no main parameter was defined
> code: 1
> {noformat}

This message was sent by Atlassian JIRA

View raw message