accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Josh Elser (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ACCUMULO-2230) Can't run offline CI verification
Date Tue, 21 Jan 2014 17:36:19 GMT

    [ https://issues.apache.org/jira/browse/ACCUMULO-2230?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13877642#comment-13877642
] 

Josh Elser commented on ACCUMULO-2230:
--------------------------------------

I got it to work by just using the original table name instead of the clone for splitRangeByTablets.
I think that's fine now.

Sadly, I ran into another issue. Currently trying to figure out why Accumulo didn't read my
instance.dfs.dir from my accumulo-site.xml. Tracing through how that's getting pulled out.
My hunch is that ACCUMULO_CONF_DIR isn't added to the classpath (or the Configuration).

> Can't run offline CI verification
> ---------------------------------
>
>                 Key: ACCUMULO-2230
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-2230
>             Project: Accumulo
>          Issue Type: Bug
>          Components: test
>            Reporter: Josh Elser
>            Assignee: Sean Busbey
>             Fix For: 1.5.1
>
>         Attachments: ACCUMULO-2230.1.patch.txt
>
>
> If I try to run offline mapreduce verification, I'm told that my ci table is online and
I can't scan it in offline mode.
> {noformat}
> Exception in thread "main" java.io.IOException: org.apache.accumulo.core.client.AccumuloException:
Table is online ci(6f) cannot scan table in offline mode
> 	at org.apache.accumulo.core.client.mapreduce.InputFormatBase.getSplits(InputFormatBase.java:868)
> 	at org.apache.hadoop.mapreduce.JobSubmitter.writeNewSplits(JobSubmitter.java:491)
> 	at org.apache.hadoop.mapreduce.JobSubmitter.writeSplits(JobSubmitter.java:508)
> 	at org.apache.hadoop.mapreduce.JobSubmitter.submitJobInternal(JobSubmitter.java:392)
> 	at org.apache.hadoop.mapreduce.Job$10.run(Job.java:1268)
> 	at org.apache.hadoop.mapreduce.Job$10.run(Job.java:1265)
> 	at java.security.AccessController.doPrivileged(Native Method)
> 	at javax.security.auth.Subject.doAs(Subject.java:415)
> 	at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1491)
> 	at org.apache.hadoop.mapreduce.Job.submit(Job.java:1265)
> 	at org.apache.hadoop.mapreduce.Job.waitForCompletion(Job.java:1286)
> 	at org.apache.accumulo.test.continuous.ContinuousVerify.run(ContinuousVerify.java:223)
> 	at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
> 	at org.apache.accumulo.test.continuous.ContinuousVerify.main(ContinuousVerify.java:239)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:606)
> 	at org.apache.hadoop.util.RunJar.main(RunJar.java:212)
> Caused by: org.apache.accumulo.core.client.AccumuloException: Table is online ci(6f)
cannot scan table in offline mode
> 	at org.apache.accumulo.core.client.mapreduce.InputFormatBase.binOfflineTable(InputFormatBase.java:712)
> 	at org.apache.accumulo.core.client.mapreduce.InputFormatBase.getSplits(InputFormatBase.java:841)
> 	... 18 more
> {noformat}
> If I take the table offline, I get an error that the table is offline
> {noformat}
> Exception in thread "main" java.io.IOException: org.apache.accumulo.core.client.TableOfflineException:
Table ci (6f) is offline
> 	at org.apache.accumulo.test.continuous.ContinuousVerify.run(ContinuousVerify.java:207)
> 	at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
> 	at org.apache.accumulo.test.continuous.ContinuousVerify.main(ContinuousVerify.java:239)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:606)
> 	at org.apache.hadoop.util.RunJar.main(RunJar.java:212)
> Caused by: org.apache.accumulo.core.client.TableOfflineException: Table ci (6f) is offline
> 	at org.apache.accumulo.core.client.admin.TableOperationsImpl.splitRangeByTablets(TableOperationsImpl.java:1050)
> 	at org.apache.accumulo.test.continuous.ContinuousVerify.run(ContinuousVerify.java:203)
> 	... 7 more
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message