On Thu, Dec 15, 2016 at 6:06 AM, vaibhav thapliyal <vaibhav.thapliyal...@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 > >