Finish implementing MetaStore file system abstraction layer (MetaStoreFS and 
HiveMetaStoreFSImpl)
-------------------------------------------------------------------------------------------------

                 Key: HIVE-1895
                 URL: https://issues.apache.org/jira/browse/HIVE-1895
             Project: Hive
          Issue Type: Improvement
          Components: Metastore
    Affects Versions: 0.7.0
            Reporter: Carl Steinbach


HIVE-1881 added MetaStoreFS which is a pluggable extension point for
altering how the MetaStore interacts with the warehouse file system. This
interface needs to be extended so that it is possible to route all MetaStore
interaction with the warehouse file system through an implementation of this
interface.

{quote}
The other problem I see is that the MetaStoreFS interface that this patch added 
is incomplete -
it only defines a deleteDir() method. What about createDir(), isDir(), etc? It 
seems like any MetaStore
code that directly references Hadoop's FileSystem class needs to get moved into 
HiveMetaStoreFsImpl.

I don't think this needs to be done right away, but the problem with waiting is 
that any changes to MetaStoreFS
will break classes that implement older versions of that interface. Since 
MetaStoreFS is a public API we
need to get this done before it appears in an official release.
{quote}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to