Thanks Bin.
Configuration conf = new Configuration();
conf.set(Constants.HOME, "file://"+TEST_PATH);
this.localAlluxioCluster.start(conf);
java.lang.NullPointerException
at alluxio.underfs.local.LocalUnderFileSystem.mkdirs(LocalUnderFileSystem.java:200)
at alluxio.util.UnderFileSystemUtils.mkdirIfNotExists(UnderFileSystemUtils.java:56)
at alluxio.master.AbstractLocalAlluxioCluster.setupTest(AbstractLocalAlluxioCluster.java:226)
at alluxio.master.AbstractLocalAlluxioCluster.start(AbstractLocalAlluxioCluster.java:98)
Looking at the LocalUderFileSystem code at line 200:
while (!parent.exists()) {
dirsToMake.push(parent);
parent = parent.getParentFile();
}
Should the while loop check if parent != null as well?
Thanks.
Antonio.