[jira] [Commented] (HIVE-3056) Create a new metastore tool to bulk update location field in Db/Table/Partition records
[ https://issues.apache.org/jira/browse/HIVE-3056?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13547938#comment-13547938 ] Hudson commented on HIVE-3056: -- Integrated in Hive-trunk-hadoop2 #54 (See [https://builds.apache.org/job/Hive-trunk-hadoop2/54/]) HIVE-3056. Ability to bulk update location field in Db/Table/Partition records (Shreepadma Venugopalan via cws) (Revision 1380500) Result = ABORTED cws : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1380500 Files : * /hive/trunk/bin/ext/metatool.sh * /hive/trunk/bin/metatool * /hive/trunk/build.xml * /hive/trunk/eclipse-templates/TestHiveMetaTool.launchtemplate * /hive/trunk/metastore/ivy.xml * /hive/trunk/metastore/src/java/org/apache/hadoop/hive/metastore/ObjectStore.java * /hive/trunk/metastore/src/java/org/apache/hadoop/hive/metastore/tools * /hive/trunk/metastore/src/java/org/apache/hadoop/hive/metastore/tools/HiveMetaTool.java * /hive/trunk/metastore/src/test/org/apache/hadoop/hive/metastore/TestHiveMetaStore.java * /hive/trunk/metastore/src/test/org/apache/hadoop/hive/metastore/TestHiveMetaTool.java > Create a new metastore tool to bulk update location field in > Db/Table/Partition records > > > Key: HIVE-3056 > URL: https://issues.apache.org/jira/browse/HIVE-3056 > Project: Hive > Issue Type: New Feature > Components: Metastore >Reporter: Carl Steinbach >Assignee: Shreepadma Venugopalan > Fix For: 0.10.0 > > Attachments: HIVE-3056.2.patch.txt, HIVE-3056.3.patch.txt, > HIVE-3056.4.patch.txt, HIVE-3056.5.patch.txt, HIVE-3056.7.patch.txt, > HIVE-3056.patch > > -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HIVE-3056) Create a new metastore tool to bulk update location field in Db/Table/Partition records
[ https://issues.apache.org/jira/browse/HIVE-3056?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13480846#comment-13480846 ] Shreepadma Venugopalan commented on HIVE-3056: -- The options used for the listFSRoot option are: – specifies the new location and should match the value of the dfs.nameservices property. – return value from the listFSRoot command that references the NameNode location. dryRun – outputs the location to the console without making persistent changes. tablePropKey – allows users to specify a table property key whose value field may reference the HDFS NameNode location and hence may require an update. To update the Avro SerDe schema URL, specify avro.schema.url for this argument. serdePropKey – allows users to specify a SerDe property key whose value field may reference the HDFS NameNode location and hence may require an update. To update the Haivvero schema URL, specify schema.url for this argument. If you are unsure which version of Avro SerDe is used, pass both schemaPropKey and tablePropKey arguments with their respective values for the keys to updateLocation > Create a new metastore tool to bulk update location field in > Db/Table/Partition records > > > Key: HIVE-3056 > URL: https://issues.apache.org/jira/browse/HIVE-3056 > Project: Hive > Issue Type: New Feature > Components: Metastore >Reporter: Carl Steinbach >Assignee: Shreepadma Venugopalan > Fix For: 0.10.0 > > Attachments: HIVE-3056.2.patch.txt, HIVE-3056.3.patch.txt, > HIVE-3056.4.patch.txt, HIVE-3056.5.patch.txt, HIVE-3056.7.patch.txt, > HIVE-3056.patch > > -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HIVE-3056) Create a new metastore tool to bulk update location field in Db/Table/Partition records
[ https://issues.apache.org/jira/browse/HIVE-3056?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13480845#comment-13480845 ] Shreepadma Venugopalan commented on HIVE-3056: -- Command Notes metatool -listFSRoot Obtain the NameNode location. The value is prefixed with hdfs:// scheme metatool -updateLocation [-dryRun]Update records in the Hive metastore to point to the new NameNode location metatool -updateLocation [-dryRun] [-tablePropKey ] [-serdePropKey ] Updates metastore records, including the ones that reference the Avro SerDe schema URL, to point to the new HDFS NameNode location. metatool -listFSRoot Verify that the update was executed successfully; it should now return the new location that matches the value of the dfs.nameservices property > Create a new metastore tool to bulk update location field in > Db/Table/Partition records > > > Key: HIVE-3056 > URL: https://issues.apache.org/jira/browse/HIVE-3056 > Project: Hive > Issue Type: New Feature > Components: Metastore >Reporter: Carl Steinbach >Assignee: Shreepadma Venugopalan > Fix For: 0.10.0 > > Attachments: HIVE-3056.2.patch.txt, HIVE-3056.3.patch.txt, > HIVE-3056.4.patch.txt, HIVE-3056.5.patch.txt, HIVE-3056.7.patch.txt, > HIVE-3056.patch > > -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira