[jira] [Commented] (HIVE-18461) Fix precommit hive job

2018-01-17 Thread Sahil Takiar (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-18461?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16329515#comment-16329515
 ] 

Sahil Takiar commented on HIVE-18461:
-

Yeah, unfortunately the files under {{testutils/ptest2/conf/deployed/}} are 
just for reference, and are probably out of date.

> Fix precommit hive job
> --
>
> Key: HIVE-18461
> URL: https://issues.apache.org/jira/browse/HIVE-18461
> Project: Hive
>  Issue Type: Task
>  Components: Testing Infrastructure
>Reporter: Vihang Karajgaonkar
>Assignee: Vihang Karajgaonkar
>Priority: Blocker
> Attachments: HIVE-18461.01.patch
>
>
> JIRA was upgraded over the weekend and precommit job has been failing since 
> then. There are potentially two issues at play here. One is with the 
> precommit admin job which automate the patch testing. I think YETUS-594 
> should fix the precommit admin job. But manually submission of Hive jobs is 
> failing with below exception. We should get this fix to get the automated 
> testing back on track.
> {noformat}
> + local 
> 'PTEST_CLASSPATH=/home/jenkins/jenkins-slave/workspace/PreCommit-HIVE-Build/hive/build/hive/testutils/ptest2/target/hive-ptest-3.0-classes.jar:/home/jenkins/jenkins-slave/workspace/PreCommit-HIVE-Build/hive/build/hive/testutils/ptest2/target/lib/*'
> + java -cp 
> '/home/jenkins/jenkins-slave/workspace/PreCommit-HIVE-Build/hive/build/hive/testutils/ptest2/target/hive-ptest-3.0-classes.jar:/home/jenkins/jenkins-slave/workspace/PreCommit-HIVE-Build/hive/build/hive/testutils/ptest2/target/lib/*'
>  org.apache.hive.ptest.api.client.PTestClient --command testStart --outputDir 
> /home/jenkins/jenkins-slave/workspace/PreCommit-HIVE-Build/hive/build/hive/testutils/ptest2/target
>  --password '[***]' --testHandle PreCommit-HIVE-Build-8631 --endpoint 
> http://104.198.109.242:8080/hive-ptest-1.0 --logsEndpoint 
> http://104.198.109.242/logs/ --profile master-mr2 --patch 
> https://issues.apache.org/jira/secure/attachment/12906251/HIVE-18323.05.patch 
> --jira HIVE-18323
> Exception in thread "main" javax.net.ssl.SSLException: Received fatal alert: 
> protocol_version
>   at sun.security.ssl.Alerts.getSSLException(Alerts.java:208)
>   at sun.security.ssl.Alerts.getSSLException(Alerts.java:154)
>   at sun.security.ssl.SSLSocketImpl.recvAlert(SSLSocketImpl.java:1979)
>   at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1086)
>   at 
> sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1332)
>   at 
> sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1359)
>   at 
> sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1343)
>   at 
> sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:559)
>   at 
> sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185)
>   at 
> sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1301)
>   at 
> sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:254)
>   at java.net.URL.openStream(URL.java:1041)
>   at 
> com.google.common.io.Resources$UrlByteSource.openStream(Resources.java:72)
>   at com.google.common.io.ByteSource.read(ByteSource.java:257)
>   at com.google.common.io.Resources.toByteArray(Resources.java:99)
>   at 
> org.apache.hive.ptest.api.client.PTestClient.testStart(PTestClient.java:126)
>   at 
> org.apache.hive.ptest.api.client.PTestClient.main(PTestClient.java:320)
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (HIVE-18461) Fix precommit hive job

2018-01-17 Thread Vihang Karajgaonkar (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-18461?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16329500#comment-16329500
 ] 

Vihang Karajgaonkar commented on HIVE-18461:


updating testutils/ptest2/conf/deployed/master-mr2.properties will not "just" 
work. Ptest server side uses its own separate copy of this file so 
unfortunately, if you need to make changes you will have to get it reviewed by 
me, [~stakiar] or [~pvary] currently. We can help merge the changes once its 
reviewed. We may be able to fix this similar to what we did for 
testconfiguration.properties but it would need some code changes I guess.

> Fix precommit hive job
> --
>
> Key: HIVE-18461
> URL: https://issues.apache.org/jira/browse/HIVE-18461
> Project: Hive
>  Issue Type: Task
>  Components: Testing Infrastructure
>Reporter: Vihang Karajgaonkar
>Assignee: Vihang Karajgaonkar
>Priority: Blocker
> Attachments: HIVE-18461.01.patch
>
>
> JIRA was upgraded over the weekend and precommit job has been failing since 
> then. There are potentially two issues at play here. One is with the 
> precommit admin job which automate the patch testing. I think YETUS-594 
> should fix the precommit admin job. But manually submission of Hive jobs is 
> failing with below exception. We should get this fix to get the automated 
> testing back on track.
> {noformat}
> + local 
> 'PTEST_CLASSPATH=/home/jenkins/jenkins-slave/workspace/PreCommit-HIVE-Build/hive/build/hive/testutils/ptest2/target/hive-ptest-3.0-classes.jar:/home/jenkins/jenkins-slave/workspace/PreCommit-HIVE-Build/hive/build/hive/testutils/ptest2/target/lib/*'
> + java -cp 
> '/home/jenkins/jenkins-slave/workspace/PreCommit-HIVE-Build/hive/build/hive/testutils/ptest2/target/hive-ptest-3.0-classes.jar:/home/jenkins/jenkins-slave/workspace/PreCommit-HIVE-Build/hive/build/hive/testutils/ptest2/target/lib/*'
>  org.apache.hive.ptest.api.client.PTestClient --command testStart --outputDir 
> /home/jenkins/jenkins-slave/workspace/PreCommit-HIVE-Build/hive/build/hive/testutils/ptest2/target
>  --password '[***]' --testHandle PreCommit-HIVE-Build-8631 --endpoint 
> http://104.198.109.242:8080/hive-ptest-1.0 --logsEndpoint 
> http://104.198.109.242/logs/ --profile master-mr2 --patch 
> https://issues.apache.org/jira/secure/attachment/12906251/HIVE-18323.05.patch 
> --jira HIVE-18323
> Exception in thread "main" javax.net.ssl.SSLException: Received fatal alert: 
> protocol_version
>   at sun.security.ssl.Alerts.getSSLException(Alerts.java:208)
>   at sun.security.ssl.Alerts.getSSLException(Alerts.java:154)
>   at sun.security.ssl.SSLSocketImpl.recvAlert(SSLSocketImpl.java:1979)
>   at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1086)
>   at 
> sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1332)
>   at 
> sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1359)
>   at 
> sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1343)
>   at 
> sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:559)
>   at 
> sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185)
>   at 
> sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1301)
>   at 
> sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:254)
>   at java.net.URL.openStream(URL.java:1041)
>   at 
> com.google.common.io.Resources$UrlByteSource.openStream(Resources.java:72)
>   at com.google.common.io.ByteSource.read(ByteSource.java:257)
>   at com.google.common.io.Resources.toByteArray(Resources.java:99)
>   at 
> org.apache.hive.ptest.api.client.PTestClient.testStart(PTestClient.java:126)
>   at 
> org.apache.hive.ptest.api.client.PTestClient.main(PTestClient.java:320)
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (HIVE-18461) Fix precommit hive job

2018-01-17 Thread Zoltan Haindrich (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-18461?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16328749#comment-16328749
 ] 

Zoltan Haindrich commented on HIVE-18461:
-

thanks for fixing this [~vihangk1]!
I've a question regarding ptests: ...so it seems to me that currently the ptest 
codes of the master branch is used to execute the tests - so in this case: if I 
change a config file to run a test isolated from the others; that would "just" 
work? (updating/setting the properties in 
{{./testutils/ptest2/conf/deployed/master-mr2.properties}})


> Fix precommit hive job
> --
>
> Key: HIVE-18461
> URL: https://issues.apache.org/jira/browse/HIVE-18461
> Project: Hive
>  Issue Type: Task
>  Components: Testing Infrastructure
>Reporter: Vihang Karajgaonkar
>Assignee: Vihang Karajgaonkar
>Priority: Blocker
> Attachments: HIVE-18461.01.patch
>
>
> JIRA was upgraded over the weekend and precommit job has been failing since 
> then. There are potentially two issues at play here. One is with the 
> precommit admin job which automate the patch testing. I think YETUS-594 
> should fix the precommit admin job. But manually submission of Hive jobs is 
> failing with below exception. We should get this fix to get the automated 
> testing back on track.
> {noformat}
> + local 
> 'PTEST_CLASSPATH=/home/jenkins/jenkins-slave/workspace/PreCommit-HIVE-Build/hive/build/hive/testutils/ptest2/target/hive-ptest-3.0-classes.jar:/home/jenkins/jenkins-slave/workspace/PreCommit-HIVE-Build/hive/build/hive/testutils/ptest2/target/lib/*'
> + java -cp 
> '/home/jenkins/jenkins-slave/workspace/PreCommit-HIVE-Build/hive/build/hive/testutils/ptest2/target/hive-ptest-3.0-classes.jar:/home/jenkins/jenkins-slave/workspace/PreCommit-HIVE-Build/hive/build/hive/testutils/ptest2/target/lib/*'
>  org.apache.hive.ptest.api.client.PTestClient --command testStart --outputDir 
> /home/jenkins/jenkins-slave/workspace/PreCommit-HIVE-Build/hive/build/hive/testutils/ptest2/target
>  --password '[***]' --testHandle PreCommit-HIVE-Build-8631 --endpoint 
> http://104.198.109.242:8080/hive-ptest-1.0 --logsEndpoint 
> http://104.198.109.242/logs/ --profile master-mr2 --patch 
> https://issues.apache.org/jira/secure/attachment/12906251/HIVE-18323.05.patch 
> --jira HIVE-18323
> Exception in thread "main" javax.net.ssl.SSLException: Received fatal alert: 
> protocol_version
>   at sun.security.ssl.Alerts.getSSLException(Alerts.java:208)
>   at sun.security.ssl.Alerts.getSSLException(Alerts.java:154)
>   at sun.security.ssl.SSLSocketImpl.recvAlert(SSLSocketImpl.java:1979)
>   at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1086)
>   at 
> sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1332)
>   at 
> sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1359)
>   at 
> sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1343)
>   at 
> sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:559)
>   at 
> sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185)
>   at 
> sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1301)
>   at 
> sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:254)
>   at java.net.URL.openStream(URL.java:1041)
>   at 
> com.google.common.io.Resources$UrlByteSource.openStream(Resources.java:72)
>   at com.google.common.io.ByteSource.read(ByteSource.java:257)
>   at com.google.common.io.Resources.toByteArray(Resources.java:99)
>   at 
> org.apache.hive.ptest.api.client.PTestClient.testStart(PTestClient.java:126)
>   at 
> org.apache.hive.ptest.api.client.PTestClient.main(PTestClient.java:320)
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (HIVE-18461) Fix precommit hive job

2018-01-16 Thread Vihang Karajgaonkar (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-18461?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16328324#comment-16328324
 ] 

Vihang Karajgaonkar commented on HIVE-18461:


precommits are working fine now. Resolving this.

> Fix precommit hive job
> --
>
> Key: HIVE-18461
> URL: https://issues.apache.org/jira/browse/HIVE-18461
> Project: Hive
>  Issue Type: Task
>  Components: Testing Infrastructure
>Reporter: Vihang Karajgaonkar
>Assignee: Vihang Karajgaonkar
>Priority: Blocker
> Attachments: HIVE-18461.01.patch
>
>
> JIRA was upgraded over the weekend and precommit job has been failing since 
> then. There are potentially two issues at play here. One is with the 
> precommit admin job which automate the patch testing. I think YETUS-594 
> should fix the precommit admin job. But manually submission of Hive jobs is 
> failing with below exception. We should get this fix to get the automated 
> testing back on track.
> {noformat}
> + local 
> 'PTEST_CLASSPATH=/home/jenkins/jenkins-slave/workspace/PreCommit-HIVE-Build/hive/build/hive/testutils/ptest2/target/hive-ptest-3.0-classes.jar:/home/jenkins/jenkins-slave/workspace/PreCommit-HIVE-Build/hive/build/hive/testutils/ptest2/target/lib/*'
> + java -cp 
> '/home/jenkins/jenkins-slave/workspace/PreCommit-HIVE-Build/hive/build/hive/testutils/ptest2/target/hive-ptest-3.0-classes.jar:/home/jenkins/jenkins-slave/workspace/PreCommit-HIVE-Build/hive/build/hive/testutils/ptest2/target/lib/*'
>  org.apache.hive.ptest.api.client.PTestClient --command testStart --outputDir 
> /home/jenkins/jenkins-slave/workspace/PreCommit-HIVE-Build/hive/build/hive/testutils/ptest2/target
>  --password '[***]' --testHandle PreCommit-HIVE-Build-8631 --endpoint 
> http://104.198.109.242:8080/hive-ptest-1.0 --logsEndpoint 
> http://104.198.109.242/logs/ --profile master-mr2 --patch 
> https://issues.apache.org/jira/secure/attachment/12906251/HIVE-18323.05.patch 
> --jira HIVE-18323
> Exception in thread "main" javax.net.ssl.SSLException: Received fatal alert: 
> protocol_version
>   at sun.security.ssl.Alerts.getSSLException(Alerts.java:208)
>   at sun.security.ssl.Alerts.getSSLException(Alerts.java:154)
>   at sun.security.ssl.SSLSocketImpl.recvAlert(SSLSocketImpl.java:1979)
>   at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1086)
>   at 
> sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1332)
>   at 
> sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1359)
>   at 
> sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1343)
>   at 
> sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:559)
>   at 
> sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185)
>   at 
> sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1301)
>   at 
> sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:254)
>   at java.net.URL.openStream(URL.java:1041)
>   at 
> com.google.common.io.Resources$UrlByteSource.openStream(Resources.java:72)
>   at com.google.common.io.ByteSource.read(ByteSource.java:257)
>   at com.google.common.io.Resources.toByteArray(Resources.java:99)
>   at 
> org.apache.hive.ptest.api.client.PTestClient.testStart(PTestClient.java:126)
>   at 
> org.apache.hive.ptest.api.client.PTestClient.main(PTestClient.java:320)
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (HIVE-18461) Fix precommit hive job

2018-01-16 Thread Vihang Karajgaonkar (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-18461?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16328225#comment-16328225
 ] 

Vihang Karajgaonkar commented on HIVE-18461:


patch committed to master.

> Fix precommit hive job
> --
>
> Key: HIVE-18461
> URL: https://issues.apache.org/jira/browse/HIVE-18461
> Project: Hive
>  Issue Type: Task
>  Components: Testing Infrastructure
>Reporter: Vihang Karajgaonkar
>Assignee: Vihang Karajgaonkar
>Priority: Blocker
> Attachments: HIVE-18461.01.patch
>
>
> JIRA was upgraded over the weekend and precommit job has been failing since 
> then. There are potentially two issues at play here. One is with the 
> precommit admin job which automate the patch testing. I think YETUS-594 
> should fix the precommit admin job. But manually submission of Hive jobs is 
> failing with below exception. We should get this fix to get the automated 
> testing back on track.
> {noformat}
> + local 
> 'PTEST_CLASSPATH=/home/jenkins/jenkins-slave/workspace/PreCommit-HIVE-Build/hive/build/hive/testutils/ptest2/target/hive-ptest-3.0-classes.jar:/home/jenkins/jenkins-slave/workspace/PreCommit-HIVE-Build/hive/build/hive/testutils/ptest2/target/lib/*'
> + java -cp 
> '/home/jenkins/jenkins-slave/workspace/PreCommit-HIVE-Build/hive/build/hive/testutils/ptest2/target/hive-ptest-3.0-classes.jar:/home/jenkins/jenkins-slave/workspace/PreCommit-HIVE-Build/hive/build/hive/testutils/ptest2/target/lib/*'
>  org.apache.hive.ptest.api.client.PTestClient --command testStart --outputDir 
> /home/jenkins/jenkins-slave/workspace/PreCommit-HIVE-Build/hive/build/hive/testutils/ptest2/target
>  --password '[***]' --testHandle PreCommit-HIVE-Build-8631 --endpoint 
> http://104.198.109.242:8080/hive-ptest-1.0 --logsEndpoint 
> http://104.198.109.242/logs/ --profile master-mr2 --patch 
> https://issues.apache.org/jira/secure/attachment/12906251/HIVE-18323.05.patch 
> --jira HIVE-18323
> Exception in thread "main" javax.net.ssl.SSLException: Received fatal alert: 
> protocol_version
>   at sun.security.ssl.Alerts.getSSLException(Alerts.java:208)
>   at sun.security.ssl.Alerts.getSSLException(Alerts.java:154)
>   at sun.security.ssl.SSLSocketImpl.recvAlert(SSLSocketImpl.java:1979)
>   at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1086)
>   at 
> sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1332)
>   at 
> sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1359)
>   at 
> sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1343)
>   at 
> sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:559)
>   at 
> sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185)
>   at 
> sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1301)
>   at 
> sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:254)
>   at java.net.URL.openStream(URL.java:1041)
>   at 
> com.google.common.io.Resources$UrlByteSource.openStream(Resources.java:72)
>   at com.google.common.io.ByteSource.read(ByteSource.java:257)
>   at com.google.common.io.Resources.toByteArray(Resources.java:99)
>   at 
> org.apache.hive.ptest.api.client.PTestClient.testStart(PTestClient.java:126)
>   at 
> org.apache.hive.ptest.api.client.PTestClient.main(PTestClient.java:320)
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (HIVE-18461) Fix precommit hive job

2018-01-16 Thread Vihang Karajgaonkar (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-18461?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16328203#comment-16328203
 ] 

Vihang Karajgaonkar commented on HIVE-18461:


OKay the issue is with the Java version. Since the JIRA got upgraded it doesn't 
work with Java 7 clients because in Java 7 the default TLS version is TLSv1.0. 
In Java 8 the default is TLSv1.2 which causes the protocol_version error above. 
Ideally the solution should be to upgrade the pre-commit jenkins job to use 
Java 8 instead of Java 7. I will create a INFRA ticket for the same. Meanwhile 
I have a workaround which fixes this issue. Will post a patch soon.

> Fix precommit hive job
> --
>
> Key: HIVE-18461
> URL: https://issues.apache.org/jira/browse/HIVE-18461
> Project: Hive
>  Issue Type: Task
>  Components: Testing Infrastructure
>Reporter: Vihang Karajgaonkar
>Assignee: Vihang Karajgaonkar
>Priority: Blocker
>
> JIRA was upgraded over the weekend and precommit job has been failing since 
> then. There are potentially two issues at play here. One is with the 
> precommit admin job which automate the patch testing. I think YETUS-594 
> should fix the precommit admin job. But manually submission of Hive jobs is 
> failing with below exception. We should get this fix to get the automated 
> testing back on track.
> {noformat}
> + local 
> 'PTEST_CLASSPATH=/home/jenkins/jenkins-slave/workspace/PreCommit-HIVE-Build/hive/build/hive/testutils/ptest2/target/hive-ptest-3.0-classes.jar:/home/jenkins/jenkins-slave/workspace/PreCommit-HIVE-Build/hive/build/hive/testutils/ptest2/target/lib/*'
> + java -cp 
> '/home/jenkins/jenkins-slave/workspace/PreCommit-HIVE-Build/hive/build/hive/testutils/ptest2/target/hive-ptest-3.0-classes.jar:/home/jenkins/jenkins-slave/workspace/PreCommit-HIVE-Build/hive/build/hive/testutils/ptest2/target/lib/*'
>  org.apache.hive.ptest.api.client.PTestClient --command testStart --outputDir 
> /home/jenkins/jenkins-slave/workspace/PreCommit-HIVE-Build/hive/build/hive/testutils/ptest2/target
>  --password '[***]' --testHandle PreCommit-HIVE-Build-8631 --endpoint 
> http://104.198.109.242:8080/hive-ptest-1.0 --logsEndpoint 
> http://104.198.109.242/logs/ --profile master-mr2 --patch 
> https://issues.apache.org/jira/secure/attachment/12906251/HIVE-18323.05.patch 
> --jira HIVE-18323
> Exception in thread "main" javax.net.ssl.SSLException: Received fatal alert: 
> protocol_version
>   at sun.security.ssl.Alerts.getSSLException(Alerts.java:208)
>   at sun.security.ssl.Alerts.getSSLException(Alerts.java:154)
>   at sun.security.ssl.SSLSocketImpl.recvAlert(SSLSocketImpl.java:1979)
>   at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1086)
>   at 
> sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1332)
>   at 
> sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1359)
>   at 
> sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1343)
>   at 
> sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:559)
>   at 
> sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185)
>   at 
> sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1301)
>   at 
> sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:254)
>   at java.net.URL.openStream(URL.java:1041)
>   at 
> com.google.common.io.Resources$UrlByteSource.openStream(Resources.java:72)
>   at com.google.common.io.ByteSource.read(ByteSource.java:257)
>   at com.google.common.io.Resources.toByteArray(Resources.java:99)
>   at 
> org.apache.hive.ptest.api.client.PTestClient.testStart(PTestClient.java:126)
>   at 
> org.apache.hive.ptest.api.client.PTestClient.main(PTestClient.java:320)
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (HIVE-18461) Fix precommit hive job

2018-01-16 Thread Vihang Karajgaonkar (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-18461?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16328014#comment-16328014
 ] 

Vihang Karajgaonkar commented on HIVE-18461:


I suspect that this is because the PTestClient is using Java 7 while the 
upgraded JIRA version doesn't support the TLS protocols requested.

> Fix precommit hive job
> --
>
> Key: HIVE-18461
> URL: https://issues.apache.org/jira/browse/HIVE-18461
> Project: Hive
>  Issue Type: Task
>  Components: Testing Infrastructure
>Reporter: Vihang Karajgaonkar
>Priority: Blocker
>
> JIRA was upgraded over the weekend and precommit job has been failing since 
> then. There are potentially two issues at play here. One is with the 
> precommit admin job which automate the patch testing. I think YETUS-594 
> should fix the precommit admin job. But manually submission of Hive jobs is 
> failing with below exception. We should get this fix to get the automated 
> testing back on track.
> {noformat}
> + local 
> 'PTEST_CLASSPATH=/home/jenkins/jenkins-slave/workspace/PreCommit-HIVE-Build/hive/build/hive/testutils/ptest2/target/hive-ptest-3.0-classes.jar:/home/jenkins/jenkins-slave/workspace/PreCommit-HIVE-Build/hive/build/hive/testutils/ptest2/target/lib/*'
> + java -cp 
> '/home/jenkins/jenkins-slave/workspace/PreCommit-HIVE-Build/hive/build/hive/testutils/ptest2/target/hive-ptest-3.0-classes.jar:/home/jenkins/jenkins-slave/workspace/PreCommit-HIVE-Build/hive/build/hive/testutils/ptest2/target/lib/*'
>  org.apache.hive.ptest.api.client.PTestClient --command testStart --outputDir 
> /home/jenkins/jenkins-slave/workspace/PreCommit-HIVE-Build/hive/build/hive/testutils/ptest2/target
>  --password '[***]' --testHandle PreCommit-HIVE-Build-8631 --endpoint 
> http://104.198.109.242:8080/hive-ptest-1.0 --logsEndpoint 
> http://104.198.109.242/logs/ --profile master-mr2 --patch 
> https://issues.apache.org/jira/secure/attachment/12906251/HIVE-18323.05.patch 
> --jira HIVE-18323
> Exception in thread "main" javax.net.ssl.SSLException: Received fatal alert: 
> protocol_version
>   at sun.security.ssl.Alerts.getSSLException(Alerts.java:208)
>   at sun.security.ssl.Alerts.getSSLException(Alerts.java:154)
>   at sun.security.ssl.SSLSocketImpl.recvAlert(SSLSocketImpl.java:1979)
>   at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1086)
>   at 
> sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1332)
>   at 
> sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1359)
>   at 
> sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1343)
>   at 
> sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:559)
>   at 
> sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185)
>   at 
> sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1301)
>   at 
> sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:254)
>   at java.net.URL.openStream(URL.java:1041)
>   at 
> com.google.common.io.Resources$UrlByteSource.openStream(Resources.java:72)
>   at com.google.common.io.ByteSource.read(ByteSource.java:257)
>   at com.google.common.io.Resources.toByteArray(Resources.java:99)
>   at 
> org.apache.hive.ptest.api.client.PTestClient.testStart(PTestClient.java:126)
>   at 
> org.apache.hive.ptest.api.client.PTestClient.main(PTestClient.java:320)
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)