Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
Accumulo >> mail # user >> clone, offline usage in map-reduce job - error in getSplits method.


Copy link to this message
-
clone, offline usage in map-reduce job - error in getSplits method.
A few weeks ago there was a message or two about cloning a table then
taking it offline before running a map-reduce job using
AccumuloInputFormat. I'm trying to do this but have run into an issue. Here
is the gist of my code:

String table = "AA";
String tableClone = "AA_clone";

getTableOperations().clone(table, tableClone, true, new HashMap<String,
String>(), new TreeSet<String>());
getTableOperations().offline(tableClone);

### the rest is normal Hadoop Job setup using tableClone has the input
table.

When I run the job, I get this message:

...AA_clone is offline
...at ... InputFormatBase.getSplits(InputFormatBase.java:1366)
...<normal java stack>

Did I missing something in my job setup?
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB