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

Michael Miller commented on ACCUMULO-4718:
------------------------------------------

Well not quite... the accumulo-testing client appears to be configured properly 
but when it calls TableOperations().importDirectory on BulkPlusOne, it is out 
of sync.  The call to TableOperaions causes a FileNotFoundException when 
importDirectory() checks the path against the Hadoop FileSystem that it pulls 
from CachedConfiguration.getInstance().  The fs I have set in accumulo-testing 
client returns "hdfs://localhost:8020" while the FileSystem in TableOperations 
returns "file:///".
Here is the stacktrace:
{code}
2017-10-11 14:14:51,830 [randomwalk.bulk.BulkPlusOne] ERROR: 
org.apache.accumulo.core.client.AccumuloException: Bulk import  directory 
/tmp/bulk_f96ee0a1-e125-4b00-acf2-10a774cdfe57 does not exist!
org.apache.accumulo.core.client.AccumuloException: Bulk import  directory 
/tmp/bulk_f96ee0a1-e125-4b00-acf2-10a774cdfe57 does not exist!
        at 
org.apache.accumulo.core.client.impl.TableOperationsImpl.checkPath(TableOperationsImpl.java:1101)
        at 
org.apache.accumulo.core.client.impl.TableOperationsImpl.importDirectory(TableOperationsImpl.java:1123)
        at 
org.apache.accumulo.testing.core.randomwalk.bulk.BulkPlusOne.bulkLoadLots(BulkPlusOne.java:102)
        at 
org.apache.accumulo.testing.core.randomwalk.bulk.BulkPlusOne.runLater(BulkPlusOne.java:120)
        at 
org.apache.accumulo.testing.core.randomwalk.bulk.BulkTest.lambda$visit$0(BulkTest.java:31)
        at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at 
org.apache.accumulo.fate.util.LoggingRunnable.run(LoggingRunnable.java:35)
        at java.lang.Thread.run(Thread.java:748)
{code}

Meanwhile, if I connect to the Uno instance I have running, I can see that 
directory and its contents. 

> Accumulo-testing classes are broken
> -----------------------------------
>
>                 Key: ACCUMULO-4718
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-4718
>             Project: Accumulo
>          Issue Type: Bug
>            Reporter: Michael Miller
>            Assignee: Michael Miller
>             Fix For: 2.0.0
>
>
> Multiple changes to 2.0 over the past 6 months or so have been left out of 
> the accumulo-testing repo.  Update the testing classes with these changes so 
> they can be run against 2.0



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to