[jira] [Commented] (HIVE-11613) schematool should return non zero exit status for info command, if state is inconsistent

2015-08-21 Thread Prasad Mujumdar (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-11613?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14706377#comment-14706377
 ] 

Prasad Mujumdar commented on HIVE-11613:


+1 for both patches

 schematool should return non zero exit status for info command, if state is 
 inconsistent
 

 Key: HIVE-11613
 URL: https://issues.apache.org/jira/browse/HIVE-11613
 Project: Hive
  Issue Type: Bug
  Components: Metastore
Affects Versions: 1.0.0, 1.1.1, 1.2.1
Reporter: Thejas M Nair
Assignee: Thejas M Nair
 Attachments: HIVE-11613-1.0.patch, HIVE-11613.1.patch


 schematool -info just prints the version information, but it is not easy to 
 consume the validity of the state from a tool as the exit code is 0 even if 
 the schema version has mismatch.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (HIVE-11613) schematool should return non zero exit status for info command, if state is inconsistent

2015-08-20 Thread Hive QA (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-11613?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14706051#comment-14706051
 ] 

Hive QA commented on HIVE-11613:




{color:red}Overall{color}: -1 at least one tests failed

Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12751587/HIVE-11613.1.patch

{color:red}ERROR:{color} -1 due to 1 failed/errored test(s), 9367 tests executed
*Failed tests:*
{noformat}
TestSchedulerQueue - did not produce a TEST-*.xml file
{noformat}

Test results: 
http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/5024/testReport
Console output: 
http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/5024/console
Test logs: 
http://ec2-174-129-184-35.compute-1.amazonaws.com/logs/PreCommit-HIVE-TRUNK-Build-5024/

Messages:
{noformat}
Executing org.apache.hive.ptest.execution.PrepPhase
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: 12751587 - PreCommit-HIVE-TRUNK-Build

 schematool should return non zero exit status for info command, if state is 
 inconsistent
 

 Key: HIVE-11613
 URL: https://issues.apache.org/jira/browse/HIVE-11613
 Project: Hive
  Issue Type: Bug
  Components: Metastore
Affects Versions: 1.0.0, 1.1.1, 1.2.1
Reporter: Thejas M Nair
Assignee: Thejas M Nair
 Attachments: HIVE-11613-1.0.patch, HIVE-11613.1.patch


 schematool -info just prints the version information, but it is not easy to 
 consume the validity of the state from a tool as the exit code is 0 even if 
 the schema version has mismatch.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)