You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by Bing Li <li...@yahoo.com.cn> on 2011/12/14 13:32:58 UTC

a potential bug in HIVE/HADOOP ? -- MetaStore, createDatabase()

Hi, developers
When I ran Hive UT with the candidate build of Hive-0.8.0, I found that TestEmbeddedHiveMetaStore and TestRemoteHiveMetaStore always FAILED with ROOT account while PASS with NON-ROOT account.

I took a look at the source code of TestHiveMetaStore, and found that 

      fs.mkdirs(
          new Path(HiveConf.getVar(hiveConf, HiveConf.ConfVars.METASTOREWAREHOUSE) + "/test"),
          new FsPermission((short) 0));
....
 client.createDatabase(db);   // always create the db with ROOT 

Does HIVE UT only support NON-ROOT account? Otherwise, I think it maybe a potential defect/bug in HADOOP/HIVE.


Thanks,
- Bing