accumulo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Keith Turner <ke...@deenlo.com>
Subject Re: Importtable command not working from Java API
Date Thu, 15 Dec 2016 16:49:44 GMT
On Thu, Dec 15, 2016 at 6:06 AM, vaibhav thapliyal
<vaibhav.thapliyal.91@gmail.com> wrote:
> Hi,
>
> I am trying to import an accumulo table from an HDFS directory. However when
> i use the importtable function in the java API I get the following error:
>
> org.apache.accumulo.core.client.AccumuloException: Table import  directory
> /backup/Data_records does not exist!
>
> I have verified that this directory exists in hdfs. Even then I am not able
> to import data through this directory because of this error.
>
>
> Here is the call to the importtable function:
>
> destConnector.tableOperations().importTable(prop.getProperty("tablename"),
>                     prop.getProperty("targetClusterDirectory"));
>
> I would also like to add that the importtable command works using the
> accumulo shell.

Do you know if you are using the same HDFS configuration in both cases?

>
> Please help.
> Thanks
> Vaibhav
>
>

Mime
View raw message