[jira] [Commented] (HIVE-8668) mssql sql script has carriage returns

2014-10-30 Thread Hive QA (JIRA)

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

Hive QA commented on HIVE-8668:
---



{color:red}Overall{color}: -1 no tests executed

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

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

Messages:
{noformat}
Executing org.apache.hive.ptest.execution.PrepPhase
Tests exited with: NonZeroExitCodeException
Command 'bash /data/hive-ptest/working/scratch/source-prep.sh' failed with exit 
status 1 and output '+ [[ -n /usr/java/jdk1.7.0_45-cloudera ]]
+ export JAVA_HOME=/usr/java/jdk1.7.0_45-cloudera
+ JAVA_HOME=/usr/java/jdk1.7.0_45-cloudera
+ export 
PATH=/usr/java/jdk1.7.0_45-cloudera/bin/:/usr/local/apache-maven-3.0.5/bin:/usr/java/jdk1.7.0_45-cloudera/bin:/usr/local/apache-ant-1.9.1/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/hiveptest/bin
+ 
PATH=/usr/java/jdk1.7.0_45-cloudera/bin/:/usr/local/apache-maven-3.0.5/bin:/usr/java/jdk1.7.0_45-cloudera/bin:/usr/local/apache-ant-1.9.1/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/hiveptest/bin
+ export 'ANT_OPTS=-Xmx1g -XX:MaxPermSize=256m '
+ ANT_OPTS='-Xmx1g -XX:MaxPermSize=256m '
+ export 'M2_OPTS=-Xmx1g -XX:MaxPermSize=256m -Dhttp.proxyHost=localhost 
-Dhttp.proxyPort=3128'
+ M2_OPTS='-Xmx1g -XX:MaxPermSize=256m -Dhttp.proxyHost=localhost 
-Dhttp.proxyPort=3128'
+ cd /data/hive-ptest/working/
+ tee /data/hive-ptest/logs/PreCommit-HIVE-TRUNK-Build-1555/source-prep.txt
+ [[ false == \t\r\u\e ]]
+ mkdir -p maven ivy
+ [[ svn = \s\v\n ]]
+ [[ -n '' ]]
+ [[ -d apache-svn-trunk-source ]]
+ [[ ! -d apache-svn-trunk-source/.svn ]]
+ [[ ! -d apache-svn-trunk-source ]]
+ cd apache-svn-trunk-source
+ svn revert -R .
Reverted 'common/src/java/org/apache/hadoop/hive/conf/HiveConf.java'
++ egrep -v '^X|^Performing status on external'
++ awk '{print $2}'
++ svn status --no-ignore
+ rm -rf target datanucleus.log ant/target shims/target shims/0.20/target 
shims/0.20S/target shims/0.23/target shims/aggregator/target 
shims/common/target shims/common-secure/target packaging/target 
hbase-handler/target testutils/target jdbc/target metastore/target 
itests/target itests/hcatalog-unit/target itests/test-serde/target 
itests/qtest/target itests/hive-unit-hadoop2/target itests/hive-minikdc/target 
itests/hive-unit/target itests/custom-serde/target itests/util/target 
hcatalog/target hcatalog/core/target hcatalog/streaming/target 
hcatalog/server-extensions/target hcatalog/webhcat/svr/target 
hcatalog/webhcat/java-client/target hcatalog/hcatalog-pig-adapter/target 
accumulo-handler/target hwi/target common/target common/src/gen contrib/target 
service/target serde/target beeline/target odbc/target cli/target 
ql/dependency-reduced-pom.xml ql/target
+ svn update

Fetching external item into 'hcatalog/src/test/e2e/harness'
External at revision 1635498.

At revision 1635498.
+ patchCommandPath=/data/hive-ptest/working/scratch/smart-apply-patch.sh
+ patchFilePath=/data/hive-ptest/working/scratch/build.patch
+ [[ -f /data/hive-ptest/working/scratch/build.patch ]]
+ chmod +x /data/hive-ptest/working/scratch/smart-apply-patch.sh
+ /data/hive-ptest/working/scratch/smart-apply-patch.sh 
/data/hive-ptest/working/scratch/build.patch
patch:  malformed patch at line 106:  

patch:  malformed patch at line 106:  

patch:  malformed patch at line 106:  

The patch does not appear to apply with p0, p1, or p2
+ exit 1
'
{noformat}

This message is automatically generated.

ATTACHMENT ID: 12678110 - PreCommit-HIVE-TRUNK-Build

 mssql sql script has carriage returns
 -

 Key: HIVE-8668
 URL: https://issues.apache.org/jira/browse/HIVE-8668
 Project: Hive
  Issue Type: Bug
Affects Versions: 0.14.0
Reporter: Brock Noland
Assignee: Brock Noland
Priority: Blocker
 Fix For: 0.14.0

 Attachments: HIVE-8668.patch


 This is breaking patches generated by {{svn merge}}



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


[jira] [Commented] (HIVE-8668) mssql sql script has carriage returns

2014-10-30 Thread Alan Gates (JIRA)

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

Alan Gates commented on HIVE-8668:
--

I'm not sure I see what issue is here.  hive-txn-schema-0.14.0.mssql.sql is 
identical to hive-txn-schema-0.13.0.mssql.sql.  If the previous one is ok, why 
isn't the new one?

 mssql sql script has carriage returns
 -

 Key: HIVE-8668
 URL: https://issues.apache.org/jira/browse/HIVE-8668
 Project: Hive
  Issue Type: Bug
Affects Versions: 0.14.0
Reporter: Brock Noland
Assignee: Brock Noland
Priority: Blocker
 Fix For: 0.14.0

 Attachments: HIVE-8668.patch


 This is breaking patches generated by {{svn merge}}



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


[jira] [Commented] (HIVE-8668) mssql sql script has carriage returns

2014-10-30 Thread Gunther Hagleitner (JIRA)

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

Gunther Hagleitner commented on HIVE-8668:
--

My only worry is that this is a ms sql script and I'd like to make sure that 
these line endings aren't required for it. [~xiaobingo] are you able to give 
this a spin?

 mssql sql script has carriage returns
 -

 Key: HIVE-8668
 URL: https://issues.apache.org/jira/browse/HIVE-8668
 Project: Hive
  Issue Type: Bug
Affects Versions: 0.14.0
Reporter: Brock Noland
Assignee: Brock Noland
Priority: Blocker
 Fix For: 0.14.0

 Attachments: HIVE-8668.patch


 This is breaking patches generated by {{svn merge}}



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


[jira] [Commented] (HIVE-8668) mssql sql script has carriage returns

2014-10-30 Thread Gunther Hagleitner (JIRA)

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

Gunther Hagleitner commented on HIVE-8668:
--

Patch doesn't apply. If we decide to go with this, I'll dos2unix before commit 
instead of applying patch. I'm assuming that unit tests are irrelevant anyways, 
we're not testing these scripts afaik.

 mssql sql script has carriage returns
 -

 Key: HIVE-8668
 URL: https://issues.apache.org/jira/browse/HIVE-8668
 Project: Hive
  Issue Type: Bug
Affects Versions: 0.14.0
Reporter: Brock Noland
Assignee: Brock Noland
Priority: Blocker
 Fix For: 0.14.0

 Attachments: HIVE-8668.patch


 This is breaking patches generated by {{svn merge}}



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


[jira] [Commented] (HIVE-8668) mssql sql script has carriage returns

2014-10-30 Thread Brock Noland (JIRA)

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

Brock Noland commented on HIVE-8668:


When you generate a patch with {{svn merge}} there are zero new lines and the 
patch comes out corrupt. Perhaps we can just add a new line to the end of the 
file. I'll try that.

 mssql sql script has carriage returns
 -

 Key: HIVE-8668
 URL: https://issues.apache.org/jira/browse/HIVE-8668
 Project: Hive
  Issue Type: Bug
Affects Versions: 0.14.0
Reporter: Brock Noland
Assignee: Brock Noland
Priority: Blocker
 Fix For: 0.14.0

 Attachments: HIVE-8668.patch


 This is breaking patches generated by {{svn merge}}



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


[jira] [Commented] (HIVE-8668) mssql sql script has carriage returns

2014-10-30 Thread Xiaobing Zhou (JIRA)

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

Xiaobing Zhou commented on HIVE-8668:
-

[~hagleitn] Sorry for latency, just saw this thread. Are there anythings I can 
help?

 mssql sql script has carriage returns
 -

 Key: HIVE-8668
 URL: https://issues.apache.org/jira/browse/HIVE-8668
 Project: Hive
  Issue Type: Bug
Affects Versions: 0.14.0
Reporter: Brock Noland
Assignee: Brock Noland
Priority: Blocker
 Fix For: 0.14.0

 Attachments: HIVE-8668.patch, HIVE-8668.patch


 This is breaking patches generated by {{svn merge}}



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


[jira] [Commented] (HIVE-8668) mssql sql script has carriage returns

2014-10-30 Thread Xiaobing Zhou (JIRA)

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

Xiaobing Zhou commented on HIVE-8668:
-

Actually I just executed queries in hive-txn-schema-0.14.0.mssql.sql on Windows 
by text copy-paste as well as sqlcmd CLI. Both work well.

 mssql sql script has carriage returns
 -

 Key: HIVE-8668
 URL: https://issues.apache.org/jira/browse/HIVE-8668
 Project: Hive
  Issue Type: Bug
Affects Versions: 0.14.0
Reporter: Brock Noland
Assignee: Brock Noland
Priority: Blocker
 Fix For: 0.14.0

 Attachments: HIVE-8668.patch, HIVE-8668.patch


 This is breaking patches generated by {{svn merge}}



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


[jira] [Commented] (HIVE-8668) mssql sql script has carriage returns

2014-10-30 Thread Gunther Hagleitner (JIRA)

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

Gunther Hagleitner commented on HIVE-8668:
--

Seems a safe change then. Thanks [~xiaobingo]. +1 for .14 and trunk.

 mssql sql script has carriage returns
 -

 Key: HIVE-8668
 URL: https://issues.apache.org/jira/browse/HIVE-8668
 Project: Hive
  Issue Type: Bug
Affects Versions: 0.14.0
Reporter: Brock Noland
Assignee: Brock Noland
Priority: Blocker
 Fix For: 0.14.0

 Attachments: HIVE-8668.patch, HIVE-8668.patch


 This is breaking patches generated by {{svn merge}}



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


[jira] [Commented] (HIVE-8668) mssql sql script has carriage returns

2014-10-30 Thread Hive QA (JIRA)

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

Hive QA commented on HIVE-8668:
---



{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/12678263/HIVE-8668.patch

{color:red}ERROR:{color} -1 due to 5 failed/errored test(s), 6608 tests executed
*Failed tests:*
{noformat}
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_transform_acid
org.apache.hadoop.hive.cli.TestMiniTezCliDriver.testCliDriver_optimize_nullscan
org.apache.hive.hcatalog.streaming.TestStreaming.testEndpointConnection
org.apache.hive.hcatalog.streaming.TestStreaming.testTransactionBatchEmptyCommit
org.apache.hive.minikdc.TestJdbcWithMiniKdc.testNegativeTokenAuth
{noformat}

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

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: 5 tests failed
{noformat}

This message is automatically generated.

ATTACHMENT ID: 12678263 - PreCommit-HIVE-TRUNK-Build

 mssql sql script has carriage returns
 -

 Key: HIVE-8668
 URL: https://issues.apache.org/jira/browse/HIVE-8668
 Project: Hive
  Issue Type: Bug
Affects Versions: 0.14.0
Reporter: Brock Noland
Assignee: Brock Noland
Priority: Blocker
 Fix For: 0.14.0

 Attachments: HIVE-8668.patch, HIVE-8668.patch


 This is breaking patches generated by {{svn merge}}



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


[jira] [Commented] (HIVE-8668) mssql sql script has carriage returns

2014-10-29 Thread Brock Noland (JIRA)

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

Brock Noland commented on HIVE-8668:


FYI [~hagleitn]

 mssql sql script has carriage returns
 -

 Key: HIVE-8668
 URL: https://issues.apache.org/jira/browse/HIVE-8668
 Project: Hive
  Issue Type: Bug
Affects Versions: 0.14.0
Reporter: Brock Noland
Assignee: Brock Noland
Priority: Blocker
 Fix For: 0.14.0

 Attachments: HIVE-8668.patch


 This is breaking patches generated by {{svn merge}}



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