[jira] [Commented] (HIVE-20916) Fix typo in JSONCreateDatabaseMessage and add test for alter database
[ https://issues.apache.org/jira/browse/HIVE-20916?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16689836#comment-16689836 ] Andrew Sherman commented on HIVE-20916: --- +1 LGTM > Fix typo in JSONCreateDatabaseMessage and add test for alter database > - > > Key: HIVE-20916 > URL: https://issues.apache.org/jira/browse/HIVE-20916 > Project: Hive > Issue Type: Bug > Components: Standalone Metastore >Affects Versions: 4.0.0 >Reporter: Vihang Karajgaonkar >Assignee: Vihang Karajgaonkar >Priority: Minor > Attachments: HIVE-20916.01.patch, HIVE-20916.02.patch, > HIVE-20916.03.patch > > > {code} > public JSONCreateDatabaseMessage(String server, String servicePrincipal, > Database db, > Long timestamp) { > this.server = server; > this.servicePrincipal = servicePrincipal; > this.db = db.getName(); > this.timestamp = timestamp; > try { > this.dbJson = MessageBuilder.createDatabaseObjJson(db); > } catch (TException ex) { > throw new IllegalArgumentException("Could not serialize Function > object", ex); > } > checkValid(); > } > {code} > The exception message should say Database instead of Function. Also, the > {{TestDbNotificationListener#createDatabase}} should be modified to make sure > that the deserialized database object from the dbJson field matches with the > original database object -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (HIVE-20916) Fix typo in JSONCreateDatabaseMessage and add test for alter database
[ https://issues.apache.org/jira/browse/HIVE-20916?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16688828#comment-16688828 ] Hive QA commented on HIVE-20916: Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12948398/HIVE-20916.03.patch {color:green}SUCCESS:{color} +1 due to 1 test(s) being added or modified. {color:green}SUCCESS:{color} +1 due to 15544 tests passed Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/14953/testReport Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/14953/console Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-14953/ Messages: {noformat} Executing org.apache.hive.ptest.execution.TestCheckPhase Executing org.apache.hive.ptest.execution.PrepPhase Executing org.apache.hive.ptest.execution.YetusPhase Executing org.apache.hive.ptest.execution.ExecutionPhase Executing org.apache.hive.ptest.execution.ReportingPhase {noformat} This message is automatically generated. ATTACHMENT ID: 12948398 - PreCommit-HIVE-Build > Fix typo in JSONCreateDatabaseMessage and add test for alter database > - > > Key: HIVE-20916 > URL: https://issues.apache.org/jira/browse/HIVE-20916 > Project: Hive > Issue Type: Bug > Components: Standalone Metastore >Affects Versions: 4.0.0 >Reporter: Vihang Karajgaonkar >Assignee: Vihang Karajgaonkar >Priority: Minor > Attachments: HIVE-20916.01.patch, HIVE-20916.02.patch, > HIVE-20916.03.patch > > > {code} > public JSONCreateDatabaseMessage(String server, String servicePrincipal, > Database db, > Long timestamp) { > this.server = server; > this.servicePrincipal = servicePrincipal; > this.db = db.getName(); > this.timestamp = timestamp; > try { > this.dbJson = MessageBuilder.createDatabaseObjJson(db); > } catch (TException ex) { > throw new IllegalArgumentException("Could not serialize Function > object", ex); > } > checkValid(); > } > {code} > The exception message should say Database instead of Function. Also, the > {{TestDbNotificationListener#createDatabase}} should be modified to make sure > that the deserialized database object from the dbJson field matches with the > original database object -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (HIVE-20916) Fix typo in JSONCreateDatabaseMessage and add test for alter database
[ https://issues.apache.org/jira/browse/HIVE-20916?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16688773#comment-16688773 ] Hive QA commented on HIVE-20916: | (/) *{color:green}+1 overall{color}* | \\ \\ || Vote || Subsystem || Runtime || Comment || || || || || {color:brown} Prechecks {color} || | {color:green}+1{color} | {color:green} @author {color} | {color:green} 0m 0s{color} | {color:green} The patch does not contain any @author tags. {color} | || || || || {color:brown} master Compile Tests {color} || | {color:blue}0{color} | {color:blue} mvndep {color} | {color:blue} 0m 26s{color} | {color:blue} Maven dependency ordering for branch {color} | | {color:green}+1{color} | {color:green} mvninstall {color} | {color:green} 7m 24s{color} | {color:green} master passed {color} | | {color:green}+1{color} | {color:green} compile {color} | {color:green} 0m 43s{color} | {color:green} master passed {color} | | {color:green}+1{color} | {color:green} checkstyle {color} | {color:green} 0m 16s{color} | {color:green} master passed {color} | | {color:blue}0{color} | {color:blue} findbugs {color} | {color:blue} 1m 3s{color} | {color:blue} standalone-metastore/metastore-server in master has 185 extant Findbugs warnings. {color} | | {color:green}+1{color} | {color:green} javadoc {color} | {color:green} 0m 30s{color} | {color:green} master passed {color} | || || || || {color:brown} Patch Compile Tests {color} || | {color:blue}0{color} | {color:blue} mvndep {color} | {color:blue} 0m 10s{color} | {color:blue} Maven dependency ordering for patch {color} | | {color:green}+1{color} | {color:green} mvninstall {color} | {color:green} 0m 47s{color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} compile {color} | {color:green} 0m 43s{color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} javac {color} | {color:green} 0m 43s{color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} checkstyle {color} | {color:green} 0m 16s{color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} whitespace {color} | {color:green} 0m 0s{color} | {color:green} The patch has no whitespace issues. {color} | | {color:green}+1{color} | {color:green} findbugs {color} | {color:green} 1m 9s{color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} javadoc {color} | {color:green} 0m 29s{color} | {color:green} the patch passed {color} | || || || || {color:brown} Other Tests {color} || | {color:green}+1{color} | {color:green} asflicense {color} | {color:green} 0m 12s{color} | {color:green} The patch does not generate ASF License warnings. {color} | | {color:black}{color} | {color:black} {color} | {color:black} 14m 35s{color} | {color:black} {color} | \\ \\ || Subsystem || Report/Notes || | Optional Tests | asflicense javac javadoc findbugs checkstyle compile | | uname | Linux hiveptest-server-upstream 3.16.0-4-amd64 #1 SMP Debian 3.16.36-1+deb8u1 (2016-09-03) x86_64 GNU/Linux | | Build tool | maven | | Personality | /data/hiveptest/working/yetus_PreCommit-HIVE-Build-14953/dev-support/hive-personality.sh | | git revision | master / 07529f7 | | Default Java | 1.8.0_111 | | findbugs | v3.0.0 | | modules | C: itests/hcatalog-unit standalone-metastore/metastore-server U: . | | Console output | http://104.198.109.242/logs//PreCommit-HIVE-Build-14953/yetus.txt | | Powered by | Apache Yetushttp://yetus.apache.org | This message was automatically generated. > Fix typo in JSONCreateDatabaseMessage and add test for alter database > - > > Key: HIVE-20916 > URL: https://issues.apache.org/jira/browse/HIVE-20916 > Project: Hive > Issue Type: Bug > Components: Standalone Metastore >Affects Versions: 4.0.0 >Reporter: Vihang Karajgaonkar >Assignee: Vihang Karajgaonkar >Priority: Minor > Attachments: HIVE-20916.01.patch, HIVE-20916.02.patch, > HIVE-20916.03.patch > > > {code} > public JSONCreateDatabaseMessage(String server, String servicePrincipal, > Database db, > Long timestamp) { > this.server = server; > this.servicePrincipal = servicePrincipal; > this.db = db.getName(); > this.timestamp = timestamp; > try { > this.dbJson = MessageBuilder.createDatabaseObjJson(db); > } catch (TException ex) { > throw new IllegalArgumentException("Could not serialize Function > object", ex); > } > checkValid(); > } > {code} > The exception message should say Database instead of Function. Also, the > {{TestDbNotificationListener#createDatabase}} should be modified to make sure > that the deserialized database object from the dbJson field matches with th
[jira] [Commented] (HIVE-20916) Fix typo in JSONCreateDatabaseMessage and add test for alter database
[ https://issues.apache.org/jira/browse/HIVE-20916?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16687304#comment-16687304 ] Hive QA commented on HIVE-20916: Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12948218/HIVE-20916.02.patch {color:green}SUCCESS:{color} +1 due to 1 test(s) being added or modified. {color:red}ERROR:{color} -1 due to 1 failed/errored test(s), 15543 tests executed *Failed tests:* {noformat} org.apache.hive.jdbc.TestJdbcGenericUDTFGetSplits.testGenericUDTFOrderBySplitCount1 (batchId=257) {noformat} Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/14931/testReport Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/14931/console Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-14931/ Messages: {noformat} Executing org.apache.hive.ptest.execution.TestCheckPhase Executing org.apache.hive.ptest.execution.PrepPhase Executing org.apache.hive.ptest.execution.YetusPhase Executing org.apache.hive.ptest.execution.ExecutionPhase Executing org.apache.hive.ptest.execution.ReportingPhase Tests exited with: TestsFailedException: 1 tests failed {noformat} This message is automatically generated. ATTACHMENT ID: 12948218 - PreCommit-HIVE-Build > Fix typo in JSONCreateDatabaseMessage and add test for alter database > - > > Key: HIVE-20916 > URL: https://issues.apache.org/jira/browse/HIVE-20916 > Project: Hive > Issue Type: Bug > Components: Standalone Metastore >Affects Versions: 4.0.0 >Reporter: Vihang Karajgaonkar >Assignee: Vihang Karajgaonkar >Priority: Minor > Attachments: HIVE-20916.01.patch, HIVE-20916.02.patch > > > {code} > public JSONCreateDatabaseMessage(String server, String servicePrincipal, > Database db, > Long timestamp) { > this.server = server; > this.servicePrincipal = servicePrincipal; > this.db = db.getName(); > this.timestamp = timestamp; > try { > this.dbJson = MessageBuilder.createDatabaseObjJson(db); > } catch (TException ex) { > throw new IllegalArgumentException("Could not serialize Function > object", ex); > } > checkValid(); > } > {code} > The exception message should say Database instead of Function. Also, the > {{TestDbNotificationListener#createDatabase}} should be modified to make sure > that the deserialized database object from the dbJson field matches with the > original database object -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (HIVE-20916) Fix typo in JSONCreateDatabaseMessage and add test for alter database
[ https://issues.apache.org/jira/browse/HIVE-20916?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16687273#comment-16687273 ] Hive QA commented on HIVE-20916: | (/) *{color:green}+1 overall{color}* | \\ \\ || Vote || Subsystem || Runtime || Comment || || || || || {color:brown} Prechecks {color} || | {color:green}+1{color} | {color:green} @author {color} | {color:green} 0m 0s{color} | {color:green} The patch does not contain any @author tags. {color} | || || || || {color:brown} master Compile Tests {color} || | {color:blue}0{color} | {color:blue} mvndep {color} | {color:blue} 0m 36s{color} | {color:blue} Maven dependency ordering for branch {color} | | {color:green}+1{color} | {color:green} mvninstall {color} | {color:green} 7m 10s{color} | {color:green} master passed {color} | | {color:green}+1{color} | {color:green} compile {color} | {color:green} 0m 43s{color} | {color:green} master passed {color} | | {color:green}+1{color} | {color:green} checkstyle {color} | {color:green} 0m 16s{color} | {color:green} master passed {color} | | {color:blue}0{color} | {color:blue} findbugs {color} | {color:blue} 1m 5s{color} | {color:blue} standalone-metastore/metastore-server in master has 185 extant Findbugs warnings. {color} | | {color:green}+1{color} | {color:green} javadoc {color} | {color:green} 0m 28s{color} | {color:green} master passed {color} | || || || || {color:brown} Patch Compile Tests {color} || | {color:blue}0{color} | {color:blue} mvndep {color} | {color:blue} 0m 9s{color} | {color:blue} Maven dependency ordering for patch {color} | | {color:green}+1{color} | {color:green} mvninstall {color} | {color:green} 0m 45s{color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} compile {color} | {color:green} 0m 42s{color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} javac {color} | {color:green} 0m 42s{color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} checkstyle {color} | {color:green} 0m 17s{color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} whitespace {color} | {color:green} 0m 0s{color} | {color:green} The patch has no whitespace issues. {color} | | {color:green}+1{color} | {color:green} findbugs {color} | {color:green} 1m 9s{color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} javadoc {color} | {color:green} 0m 29s{color} | {color:green} the patch passed {color} | || || || || {color:brown} Other Tests {color} || | {color:green}+1{color} | {color:green} asflicense {color} | {color:green} 0m 12s{color} | {color:green} The patch does not generate ASF License warnings. {color} | | {color:black}{color} | {color:black} {color} | {color:black} 14m 30s{color} | {color:black} {color} | \\ \\ || Subsystem || Report/Notes || | Optional Tests | asflicense javac javadoc findbugs checkstyle compile | | uname | Linux hiveptest-server-upstream 3.16.0-4-amd64 #1 SMP Debian 3.16.36-1+deb8u1 (2016-09-03) x86_64 GNU/Linux | | Build tool | maven | | Personality | /data/hiveptest/working/yetus_PreCommit-HIVE-Build-14931/dev-support/hive-personality.sh | | git revision | master / 8fca02e | | Default Java | 1.8.0_111 | | findbugs | v3.0.0 | | modules | C: itests/hcatalog-unit standalone-metastore/metastore-server U: . | | Console output | http://104.198.109.242/logs//PreCommit-HIVE-Build-14931/yetus.txt | | Powered by | Apache Yetushttp://yetus.apache.org | This message was automatically generated. > Fix typo in JSONCreateDatabaseMessage and add test for alter database > - > > Key: HIVE-20916 > URL: https://issues.apache.org/jira/browse/HIVE-20916 > Project: Hive > Issue Type: Bug > Components: Standalone Metastore >Affects Versions: 4.0.0 >Reporter: Vihang Karajgaonkar >Assignee: Vihang Karajgaonkar >Priority: Minor > Attachments: HIVE-20916.01.patch, HIVE-20916.02.patch > > > {code} > public JSONCreateDatabaseMessage(String server, String servicePrincipal, > Database db, > Long timestamp) { > this.server = server; > this.servicePrincipal = servicePrincipal; > this.db = db.getName(); > this.timestamp = timestamp; > try { > this.dbJson = MessageBuilder.createDatabaseObjJson(db); > } catch (TException ex) { > throw new IllegalArgumentException("Could not serialize Function > object", ex); > } > checkValid(); > } > {code} > The exception message should say Database instead of Function. Also, the > {{TestDbNotificationListener#createDatabase}} should be modified to make sure > that the deserialized database object from the dbJson field matches with the > original database o
[jira] [Commented] (HIVE-20916) Fix typo in JSONCreateDatabaseMessage and add test for alter database
[ https://issues.apache.org/jira/browse/HIVE-20916?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16687226#comment-16687226 ] Vihang Karajgaonkar commented on HIVE-20916: Test failures are unrelated. Looks like some environment issue. Re-attaching > Fix typo in JSONCreateDatabaseMessage and add test for alter database > - > > Key: HIVE-20916 > URL: https://issues.apache.org/jira/browse/HIVE-20916 > Project: Hive > Issue Type: Bug > Components: Standalone Metastore >Affects Versions: 4.0.0 >Reporter: Vihang Karajgaonkar >Assignee: Vihang Karajgaonkar >Priority: Minor > Attachments: HIVE-20916.01.patch, HIVE-20916.02.patch > > > {code} > public JSONCreateDatabaseMessage(String server, String servicePrincipal, > Database db, > Long timestamp) { > this.server = server; > this.servicePrincipal = servicePrincipal; > this.db = db.getName(); > this.timestamp = timestamp; > try { > this.dbJson = MessageBuilder.createDatabaseObjJson(db); > } catch (TException ex) { > throw new IllegalArgumentException("Could not serialize Function > object", ex); > } > checkValid(); > } > {code} > The exception message should say Database instead of Function. Also, the > {{TestDbNotificationListener#createDatabase}} should be modified to make sure > that the deserialized database object from the dbJson field matches with the > original database object -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (HIVE-20916) Fix typo in JSONCreateDatabaseMessage and add test for alter database
[ https://issues.apache.org/jira/browse/HIVE-20916?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16687172#comment-16687172 ] Hive QA commented on HIVE-20916: Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12948207/HIVE-20916.01.patch {color:green}SUCCESS:{color} +1 due to 1 test(s) being added or modified. {color:red}ERROR:{color} -1 due to 9 failed/errored test(s), 15543 tests executed *Failed tests:* {noformat} org.apache.hive.minikdc.TestJdbcWithMiniKdc.testCancelRenewTokenFlow (batchId=274) org.apache.hive.minikdc.TestJdbcWithMiniKdc.testConnection (batchId=274) org.apache.hive.minikdc.TestJdbcWithMiniKdc.testIsValid (batchId=274) org.apache.hive.minikdc.TestJdbcWithMiniKdc.testIsValidNeg (batchId=274) org.apache.hive.minikdc.TestJdbcWithMiniKdc.testNegativeProxyAuth (batchId=274) org.apache.hive.minikdc.TestJdbcWithMiniKdc.testNegativeTokenAuth (batchId=274) org.apache.hive.minikdc.TestJdbcWithMiniKdc.testProxyAuth (batchId=274) org.apache.hive.minikdc.TestJdbcWithMiniKdc.testRenewDelegationToken (batchId=274) org.apache.hive.minikdc.TestJdbcWithMiniKdc.testTokenAuth (batchId=274) {noformat} Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/14929/testReport Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/14929/console Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-14929/ Messages: {noformat} Executing org.apache.hive.ptest.execution.TestCheckPhase Executing org.apache.hive.ptest.execution.PrepPhase Executing org.apache.hive.ptest.execution.YetusPhase Executing org.apache.hive.ptest.execution.ExecutionPhase Executing org.apache.hive.ptest.execution.ReportingPhase Tests exited with: TestsFailedException: 9 tests failed {noformat} This message is automatically generated. ATTACHMENT ID: 12948207 - PreCommit-HIVE-Build > Fix typo in JSONCreateDatabaseMessage and add test for alter database > - > > Key: HIVE-20916 > URL: https://issues.apache.org/jira/browse/HIVE-20916 > Project: Hive > Issue Type: Bug > Components: Standalone Metastore >Affects Versions: 4.0.0 >Reporter: Vihang Karajgaonkar >Assignee: Vihang Karajgaonkar >Priority: Minor > Attachments: HIVE-20916.01.patch > > > {code} > public JSONCreateDatabaseMessage(String server, String servicePrincipal, > Database db, > Long timestamp) { > this.server = server; > this.servicePrincipal = servicePrincipal; > this.db = db.getName(); > this.timestamp = timestamp; > try { > this.dbJson = MessageBuilder.createDatabaseObjJson(db); > } catch (TException ex) { > throw new IllegalArgumentException("Could not serialize Function > object", ex); > } > checkValid(); > } > {code} > The exception message should say Database instead of Function. Also, the > {{TestDbNotificationListener#createDatabase}} should be modified to make sure > that the deserialized database object from the dbJson field matches with the > original database object -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (HIVE-20916) Fix typo in JSONCreateDatabaseMessage and add test for alter database
[ https://issues.apache.org/jira/browse/HIVE-20916?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16687114#comment-16687114 ] Hive QA commented on HIVE-20916: | (/) *{color:green}+1 overall{color}* | \\ \\ || Vote || Subsystem || Runtime || Comment || || || || || {color:brown} Prechecks {color} || | {color:green}+1{color} | {color:green} @author {color} | {color:green} 0m 0s{color} | {color:green} The patch does not contain any @author tags. {color} | || || || || {color:brown} master Compile Tests {color} || | {color:blue}0{color} | {color:blue} mvndep {color} | {color:blue} 0m 21s{color} | {color:blue} Maven dependency ordering for branch {color} | | {color:green}+1{color} | {color:green} mvninstall {color} | {color:green} 8m 41s{color} | {color:green} master passed {color} | | {color:green}+1{color} | {color:green} compile {color} | {color:green} 0m 45s{color} | {color:green} master passed {color} | | {color:green}+1{color} | {color:green} checkstyle {color} | {color:green} 0m 17s{color} | {color:green} master passed {color} | | {color:blue}0{color} | {color:blue} findbugs {color} | {color:blue} 1m 5s{color} | {color:blue} standalone-metastore/metastore-server in master has 185 extant Findbugs warnings. {color} | | {color:green}+1{color} | {color:green} javadoc {color} | {color:green} 0m 28s{color} | {color:green} master passed {color} | || || || || {color:brown} Patch Compile Tests {color} || | {color:blue}0{color} | {color:blue} mvndep {color} | {color:blue} 0m 9s{color} | {color:blue} Maven dependency ordering for patch {color} | | {color:green}+1{color} | {color:green} mvninstall {color} | {color:green} 0m 45s{color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} compile {color} | {color:green} 0m 44s{color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} javac {color} | {color:green} 0m 44s{color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} checkstyle {color} | {color:green} 0m 16s{color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} whitespace {color} | {color:green} 0m 0s{color} | {color:green} The patch has no whitespace issues. {color} | | {color:green}+1{color} | {color:green} findbugs {color} | {color:green} 1m 12s{color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} javadoc {color} | {color:green} 0m 28s{color} | {color:green} the patch passed {color} | || || || || {color:brown} Other Tests {color} || | {color:green}+1{color} | {color:green} asflicense {color} | {color:green} 0m 12s{color} | {color:green} The patch does not generate ASF License warnings. {color} | | {color:black}{color} | {color:black} {color} | {color:black} 15m 46s{color} | {color:black} {color} | \\ \\ || Subsystem || Report/Notes || | Optional Tests | asflicense javac javadoc findbugs checkstyle compile | | uname | Linux hiveptest-server-upstream 3.16.0-4-amd64 #1 SMP Debian 3.16.36-1+deb8u1 (2016-09-03) x86_64 GNU/Linux | | Build tool | maven | | Personality | /data/hiveptest/working/yetus_PreCommit-HIVE-Build-14929/dev-support/hive-personality.sh | | git revision | master / 8fca02e | | Default Java | 1.8.0_111 | | findbugs | v3.0.0 | | modules | C: itests/hcatalog-unit standalone-metastore/metastore-server U: . | | Console output | http://104.198.109.242/logs//PreCommit-HIVE-Build-14929/yetus.txt | | Powered by | Apache Yetushttp://yetus.apache.org | This message was automatically generated. > Fix typo in JSONCreateDatabaseMessage and add test for alter database > - > > Key: HIVE-20916 > URL: https://issues.apache.org/jira/browse/HIVE-20916 > Project: Hive > Issue Type: Bug > Components: Standalone Metastore >Affects Versions: 4.0.0 >Reporter: Vihang Karajgaonkar >Assignee: Vihang Karajgaonkar >Priority: Minor > Attachments: HIVE-20916.01.patch > > > {code} > public JSONCreateDatabaseMessage(String server, String servicePrincipal, > Database db, > Long timestamp) { > this.server = server; > this.servicePrincipal = servicePrincipal; > this.db = db.getName(); > this.timestamp = timestamp; > try { > this.dbJson = MessageBuilder.createDatabaseObjJson(db); > } catch (TException ex) { > throw new IllegalArgumentException("Could not serialize Function > object", ex); > } > checkValid(); > } > {code} > The exception message should say Database instead of Function. Also, the > {{TestDbNotificationListener#createDatabase}} should be modified to make sure > that the deserialized database object from the dbJson field matches with the > original database object -- This mes
[jira] [Commented] (HIVE-20916) Fix typo in JSONCreateDatabaseMessage and add test for alter database
[ https://issues.apache.org/jira/browse/HIVE-20916?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16687108#comment-16687108 ] Bharathkrishna Guruvayoor Murali commented on HIVE-20916: - +1 > Fix typo in JSONCreateDatabaseMessage and add test for alter database > - > > Key: HIVE-20916 > URL: https://issues.apache.org/jira/browse/HIVE-20916 > Project: Hive > Issue Type: Bug > Components: Standalone Metastore >Affects Versions: 4.0.0 >Reporter: Vihang Karajgaonkar >Assignee: Vihang Karajgaonkar >Priority: Minor > Attachments: HIVE-20916.01.patch > > > {code} > public JSONCreateDatabaseMessage(String server, String servicePrincipal, > Database db, > Long timestamp) { > this.server = server; > this.servicePrincipal = servicePrincipal; > this.db = db.getName(); > this.timestamp = timestamp; > try { > this.dbJson = MessageBuilder.createDatabaseObjJson(db); > } catch (TException ex) { > throw new IllegalArgumentException("Could not serialize Function > object", ex); > } > checkValid(); > } > {code} > The exception message should say Database instead of Function. Also, the > {{TestDbNotificationListener#createDatabase}} should be modified to make sure > that the deserialized database object from the dbJson field matches with the > original database object -- This message was sent by Atlassian JIRA (v7.6.3#76005)