Hi Team,
We are currently migrating a data science project from Web services to big data space. Because of underlying architecture of the project we want to use our lucene indexes as it is rather than using elastic search/solr from spark in hadoop(As we want to develop one code base to deal with both Big Data and Web services). I was thinking of using alluxio as our underlying storage layer which can provide abstraction over storage space and provides access to Lucene Indexes on both Hdfs and Local disk (For web services). That way the wrapper code can remain more or less similar with access to indexes information.
Now for HDFS things work well. We are able to tranparently plugin Alluxio without change of HDFS code.
But for Java native file system , i see that the java file client just gives access to a file rather than directory.
Is there a way that Alluxio file client can give access to a directory location when called from a java code like this?
MMapDirectory directory = new MMapDirectory(Paths.get(indexFolder));