AnsweredAssumed Answered

Table doesn't get returned by listTables after creating it.

Question asked by correl on Jul 25, 2017
Latest reply on Jul 25, 2017 by maprcommunity

I'm just trying out some basic functionality using the Java API and it's not really working the way I would expect.  I run the following code and it seems to work properly:

Admin admin = MapRDB.newAdmin(config);

I can go into the mapR control center and verify that the table exists, but on the very next line of code, I call:

List<org.apache.hadoop.fs.Path> tables = admin.listTables();

but tables always has a length of 0, indicating that there aren't any tables, even though I would expect my new table to exist.

Am I not calling the API correctly or is there something I'm missing?