[jira] [Commented] (HIVE-10293) enabling travis-ci build?
[ https://issues.apache.org/jira/browse/HIVE-10293?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15255791#comment-15255791 ] Gabor Liptak commented on HIVE-10293: - I'm still stumped with this ... I added a new repository with the correct Maven URL, but it is not getting used. https://repository.apache.org/service/local/repositories/releases/content/ https://travis-ci.org/gliptak/hive/builds/125466372 [INFO] [INFO] [INFO] Building Hive Service 2.1.0-SNAPSHOT [INFO] Downloading: https://oss.sonatype.org/content/repositories/releases/org/apache/directory/client/ldap/ldap-client-api/1.0.0-M14/ldap-client-api-1.0.0-M14.pom Downloading: https://repository.apache.org/releases/org/apache/directory/client/ldap/ldap-client-api/1.0.0-M14/ldap-client-api-1.0.0-M14.pom [WARNING] The POM for org.apache.directory.client.ldap:ldap-client-api:jar:1.0.0-M14 is missing, no dependency information available Downloading: https://nexus.codehaus.org/snapshots/org/apache/directory/client/ldap/ldap-client-api/0.1-SNAPSHOT/maven-metadata.xml Downloading: https://repository.apache.org/snapshots/org/apache/directory/client/ldap/ldap-client-api/0.1-SNAPSHOT/maven-metadata.xml [WARNING] Could not transfer metadata org.apache.directory.client.ldap:ldap-client-api:0.1-SNAPSHOT/maven-metadata.xml from/to codehaus-snapshots (https://nexus.codehaus.org/snapshots/): nexus.codehaus.org [WARNING] Failure to transfer org.apache.directory.client.ldap:ldap-client-api:0.1-SNAPSHOT/maven-metadata.xml from https://nexus.codehaus.org/snapshots/ was cached in the local repository, resolution will not be reattempted until the update interval of codehaus-snapshots has elapsed or updates are forced. Original error: Could not transfer metadata org.apache.directory.client.ldap:ldap-client-api:0.1-SNAPSHOT/maven-metadata.xml from/to codehaus-snapshots (https://nexus.codehaus.org/snapshots/): nexus.codehaus.org Downloading: https://repository.apache.org/snapshots/org/apache/directory/client/ldap/ldap-client-api/0.1-SNAPSHOT/ldap-client-api-0.1-SNAPSHOT.pom Downloading: https://nexus.codehaus.org/snapshots/org/apache/directory/client/ldap/ldap-client-api/0.1-SNAPSHOT/ldap-client-api-0.1-SNAPSHOT.pom > enabling travis-ci build? > - > > Key: HIVE-10293 > URL: https://issues.apache.org/jira/browse/HIVE-10293 > Project: Hive > Issue Type: Improvement > Components: Build Infrastructure >Reporter: Gabor Liptak >Assignee: Gabor Liptak >Priority: Minor > Attachments: HIVE-10293.1.patch, HIVE-10293.2.diff > > > I would like to contribute a .travis.yml for Hive. > In particular, this would allow contributors working through Github, to > validate their own commits on their own branches. > Please comment. > Thanks -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HIVE-10293) enabling travis-ci build?
[ https://issues.apache.org/jira/browse/HIVE-10293?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15255756#comment-15255756 ] Gabor Liptak commented on HIVE-10293: - https://docs.travis-ci.com/user/ci-environment/ > enabling travis-ci build? > - > > Key: HIVE-10293 > URL: https://issues.apache.org/jira/browse/HIVE-10293 > Project: Hive > Issue Type: Improvement > Components: Build Infrastructure >Reporter: Gabor Liptak >Assignee: Gabor Liptak >Priority: Minor > Attachments: HIVE-10293.1.patch, HIVE-10293.2.diff > > > I would like to contribute a .travis.yml for Hive. > In particular, this would allow contributors working through Github, to > validate their own commits on their own branches. > Please comment. > Thanks -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HIVE-10293) enabling travis-ci build?
[ https://issues.apache.org/jira/browse/HIVE-10293?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15255754#comment-15255754 ] Gabor Liptak commented on HIVE-10293: - https://github.com/travis-ci/travis-ci/issues/2677 > enabling travis-ci build? > - > > Key: HIVE-10293 > URL: https://issues.apache.org/jira/browse/HIVE-10293 > Project: Hive > Issue Type: Improvement > Components: Build Infrastructure >Reporter: Gabor Liptak >Assignee: Gabor Liptak >Priority: Minor > Attachments: HIVE-10293.1.patch, HIVE-10293.2.diff > > > I would like to contribute a .travis.yml for Hive. > In particular, this would allow contributors working through Github, to > validate their own commits on their own branches. > Please comment. > Thanks -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HIVE-10293) enabling travis-ci build?
[ https://issues.apache.org/jira/browse/HIVE-10293?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15248863#comment-15248863 ] Gabor Liptak commented on HIVE-10293: - Thank you. So if the Maven version is the culprit, it works under 3.0.5 and 3.3.3 (my local Linux) and fails under 3.2.5 (on travis-ci) ... Am I to try running against a current Maven? > enabling travis-ci build? > - > > Key: HIVE-10293 > URL: https://issues.apache.org/jira/browse/HIVE-10293 > Project: Hive > Issue Type: Improvement > Components: Build Infrastructure >Reporter: Gabor Liptak >Assignee: Gabor Liptak >Priority: Minor > Attachments: HIVE-10293.1.patch, HIVE-10293.2.diff > > > I would like to contribute a .travis.yml for Hive. > In particular, this would allow contributors working through Github, to > validate their own commits on their own branches. > Please comment. > Thanks -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HIVE-10293) enabling travis-ci build?
[ https://issues.apache.org/jira/browse/HIVE-10293?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15246534#comment-15246534 ] Gabor Liptak commented on HIVE-10293: - [~ashutoshc] INFRA closed https://issues.apache.org/jira/browse/INFRA-11700 Who on the Team can speak to the Maven version on HIVE Jenkins? Thanks > enabling travis-ci build? > - > > Key: HIVE-10293 > URL: https://issues.apache.org/jira/browse/HIVE-10293 > Project: Hive > Issue Type: Improvement > Components: Build Infrastructure >Reporter: Gabor Liptak >Assignee: Gabor Liptak >Priority: Minor > Attachments: HIVE-10293.1.patch, HIVE-10293.2.diff > > > I would like to contribute a .travis.yml for Hive. > In particular, this would allow contributors working through Github, to > validate their own commits on their own branches. > Please comment. > Thanks -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HIVE-10803) document jdbc url format properly
[ https://issues.apache.org/jira/browse/HIVE-10803?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15245039#comment-15245039 ] Gabor Liptak commented on HIVE-10803: - [~thejas] Any other changes you would like to see for this? Thanks > document jdbc url format properly > - > > Key: HIVE-10803 > URL: https://issues.apache.org/jira/browse/HIVE-10803 > Project: Hive > Issue Type: Bug > Components: Documentation, HiveServer2 >Reporter: Thejas M Nair >Assignee: Gabor Liptak > > This is the format of the HS2 string, this needs to be documented in the wiki > doc (taken from jdbc.Utils.java) > > jdbc:hive2://:,:/dbName;sess_var_list?hive_conf_list#hive_var_list -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Resolved] (HIVE-13473) upgrade Apache Directory Server version
[ https://issues.apache.org/jira/browse/HIVE-13473?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gabor Liptak resolved HIVE-13473. - Resolution: Invalid > upgrade Apache Directory Server version > --- > > Key: HIVE-13473 > URL: https://issues.apache.org/jira/browse/HIVE-13473 > Project: Hive > Issue Type: Improvement >Reporter: Gabor Liptak >Assignee: Gabor Liptak >Priority: Minor > Attachments: HIVE-13473.2.patch, HIVE-13473.3.patch > > -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HIVE-13473) upgrade Apache Directory Server version
[ https://issues.apache.org/jira/browse/HIVE-13473?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gabor Liptak updated HIVE-13473: Status: Open (was: Patch Available) v1.5.7 is broken ... > upgrade Apache Directory Server version > --- > > Key: HIVE-13473 > URL: https://issues.apache.org/jira/browse/HIVE-13473 > Project: Hive > Issue Type: Improvement >Reporter: Gabor Liptak >Assignee: Gabor Liptak >Priority: Minor > Attachments: HIVE-13473.2.patch, HIVE-13473.3.patch > > -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HIVE-13473) upgrade Apache Directory Server version
[ https://issues.apache.org/jira/browse/HIVE-13473?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15244931#comment-15244931 ] Gabor Liptak commented on HIVE-13473: - Yes the test error is caused by v1.5.7 (which is missing file core-entry/src/main/java/org/apache/directory/server/core/entry/ServerEntry.java but contains a number of references to that class, so basically broken ...) > upgrade Apache Directory Server version > --- > > Key: HIVE-13473 > URL: https://issues.apache.org/jira/browse/HIVE-13473 > Project: Hive > Issue Type: Improvement >Reporter: Gabor Liptak >Assignee: Gabor Liptak >Priority: Minor > Attachments: HIVE-13473.2.patch, HIVE-13473.3.patch > > -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HIVE-13473) upgrade Apache Directory Server version
[ https://issues.apache.org/jira/browse/HIVE-13473?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15239239#comment-15239239 ] Gabor Liptak commented on HIVE-13473: - [~ashutoshc] Could you review? Thanks > upgrade Apache Directory Server version > --- > > Key: HIVE-13473 > URL: https://issues.apache.org/jira/browse/HIVE-13473 > Project: Hive > Issue Type: Improvement >Reporter: Gabor Liptak >Assignee: Gabor Liptak >Priority: Minor > Attachments: HIVE-13473.2.patch, HIVE-13473.3.patch > > -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HIVE-13473) upgrade Apache Directory Server version
[ https://issues.apache.org/jira/browse/HIVE-13473?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15238056#comment-15238056 ] Gabor Liptak commented on HIVE-13473: - I rebased and attached the patch (although there were no changes ...) > upgrade Apache Directory Server version > --- > > Key: HIVE-13473 > URL: https://issues.apache.org/jira/browse/HIVE-13473 > Project: Hive > Issue Type: Improvement >Reporter: Gabor Liptak >Assignee: Gabor Liptak >Priority: Minor > Attachments: HIVE-13473.2.patch, HIVE-13473.3.patch > > -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HIVE-13473) upgrade Apache Directory Server version
[ https://issues.apache.org/jira/browse/HIVE-13473?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gabor Liptak updated HIVE-13473: Attachment: HIVE-13473.3.patch > upgrade Apache Directory Server version > --- > > Key: HIVE-13473 > URL: https://issues.apache.org/jira/browse/HIVE-13473 > Project: Hive > Issue Type: Improvement >Reporter: Gabor Liptak >Assignee: Gabor Liptak >Priority: Minor > Attachments: HIVE-13473.2.patch, HIVE-13473.3.patch > > -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HIVE-10293) enabling travis-ci build?
[ https://issues.apache.org/jira/browse/HIVE-10293?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15238050#comment-15238050 ] Gabor Liptak commented on HIVE-10293: - The Travis build failed on a JUnit test at 35 minutes. https://travis-ci.org/gliptak/hive/builds/122405719 If it tops 50 minutes, we can continue filtering out tests (and even possibly move them into a parallel matrix build ...) > enabling travis-ci build? > - > > Key: HIVE-10293 > URL: https://issues.apache.org/jira/browse/HIVE-10293 > Project: Hive > Issue Type: Improvement > Components: Build Infrastructure >Reporter: Gabor Liptak >Assignee: Gabor Liptak >Priority: Minor > Attachments: HIVE-10293.1.patch, HIVE-10293.2.diff > > > I would like to contribute a .travis.yml for Hive. > In particular, this would allow contributors working through Github, to > validate their own commits on their own branches. > Please comment. > Thanks -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HIVE-10293) enabling travis-ci build?
[ https://issues.apache.org/jira/browse/HIVE-10293?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15238043#comment-15238043 ] Gabor Liptak commented on HIVE-10293: - I uploaded the latest diff for your review (I couldn't make a format patch on two commits merged ... :( ) Without https://issues.apache.org/jira/browse/HIVE-13473, jars are not found in Maven repos, with the patch I'm seeing a JUnit fail around LDAP (likely related). Could we clean the workspace in Jenkins and run a build to validate of all jars can be pulled from Maven repos? Thanks > enabling travis-ci build? > - > > Key: HIVE-10293 > URL: https://issues.apache.org/jira/browse/HIVE-10293 > Project: Hive > Issue Type: Improvement > Components: Build Infrastructure >Reporter: Gabor Liptak >Assignee: Gabor Liptak >Priority: Minor > Attachments: HIVE-10293.1.patch, HIVE-10293.2.diff > > > I would like to contribute a .travis.yml for Hive. > In particular, this would allow contributors working through Github, to > validate their own commits on their own branches. > Please comment. > Thanks -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HIVE-13473) upgrade Apache Directory Server version
[ https://issues.apache.org/jira/browse/HIVE-13473?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15238029#comment-15238029 ] Gabor Liptak commented on HIVE-13473: - The patch changes a single line pom.xml https://issues.apache.org/jira/browse/HIVE-13472 didn't change pom.xml > upgrade Apache Directory Server version > --- > > Key: HIVE-13473 > URL: https://issues.apache.org/jira/browse/HIVE-13473 > Project: Hive > Issue Type: Improvement >Reporter: Gabor Liptak >Assignee: Gabor Liptak >Priority: Minor > Attachments: HIVE-13473.2.patch > > -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HIVE-13473) upgrade Apache Directory Server version
[ https://issues.apache.org/jira/browse/HIVE-13473?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15238024#comment-15238024 ] Gabor Liptak commented on HIVE-13473: - I'm not following these results. The build listed: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/7557/testReport points to HIVE-13472 (the wrong JIRA issue/patch ...) > upgrade Apache Directory Server version > --- > > Key: HIVE-13473 > URL: https://issues.apache.org/jira/browse/HIVE-13473 > Project: Hive > Issue Type: Improvement >Reporter: Gabor Liptak >Assignee: Gabor Liptak >Priority: Minor > Attachments: HIVE-13473.2.patch > > -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HIVE-10293) enabling travis-ci build?
[ https://issues.apache.org/jira/browse/HIVE-10293?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gabor Liptak updated HIVE-10293: Attachment: HIVE-10293.2.diff > enabling travis-ci build? > - > > Key: HIVE-10293 > URL: https://issues.apache.org/jira/browse/HIVE-10293 > Project: Hive > Issue Type: Improvement > Components: Build Infrastructure >Reporter: Gabor Liptak >Assignee: Gabor Liptak >Priority: Minor > Attachments: HIVE-10293.1.patch, HIVE-10293.2.diff > > > I would like to contribute a .travis.yml for Hive. > In particular, this would allow contributors working through Github, to > validate their own commits on their own branches. > Please comment. > Thanks -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HIVE-10293) enabling travis-ci build?
[ https://issues.apache.org/jira/browse/HIVE-10293?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15237060#comment-15237060 ] Gabor Liptak commented on HIVE-10293: - [~spena] Thank you for the script, I implemented it. Here is the latest result: https://travis-ci.org/gliptak/hive/builds/122405719 So without the LDAP version update https://issues.apache.org/jira/browse/HIVE-13473 Maven repo pull fails, otherwise I see this error: Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.341 sec <<< FAILURE! - in org.apache.hive.service.auth.TestLdapAtnProviderWithMiniDS org.apache.hive.service.auth.TestLdapAtnProviderWithMiniDS Time elapsed: 1.341 sec <<< ERROR! java.lang.NoClassDefFoundError: org/apache/directory/shared/ldap/entry/ServerEntry at java.net.URLClassLoader$1.run(URLClassLoader.java:366) at java.net.URLClassLoader$1.run(URLClassLoader.java:355) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:354) at java.lang.ClassLoader.loadClass(ClassLoader.java:425) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) at java.lang.ClassLoader.loadClass(ClassLoader.java:358) at org.apache.directory.server.core.integ.FrameworkRunner.run(FrameworkRunner.java:107) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:264) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:124) Could you validate/correct https://issues.apache.org/jira/browse/HIVE-13473 ? Thanks > enabling travis-ci build? > - > > Key: HIVE-10293 > URL: https://issues.apache.org/jira/browse/HIVE-10293 > Project: Hive > Issue Type: Improvement > Components: Build Infrastructure >Reporter: Gabor Liptak >Assignee: Gabor Liptak >Priority: Minor > Attachments: HIVE-10293.1.patch > > > I would like to contribute a .travis.yml for Hive. > In particular, this would allow contributors working through Github, to > validate their own commits on their own branches. > Please comment. > Thanks -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HIVE-13473) upgrade Apache Directory Server version
[ https://issues.apache.org/jira/browse/HIVE-13473?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gabor Liptak updated HIVE-13473: Attachment: (was: HIVE-13473.1.patch) > upgrade Apache Directory Server version > --- > > Key: HIVE-13473 > URL: https://issues.apache.org/jira/browse/HIVE-13473 > Project: Hive > Issue Type: Improvement >Reporter: Gabor Liptak >Assignee: Gabor Liptak >Priority: Minor > Attachments: HIVE-13473.2.patch > > -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HIVE-13473) upgrade Apache Directory Server version
[ https://issues.apache.org/jira/browse/HIVE-13473?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gabor Liptak updated HIVE-13473: Attachment: HIVE-13473.2.patch > upgrade Apache Directory Server version > --- > > Key: HIVE-13473 > URL: https://issues.apache.org/jira/browse/HIVE-13473 > Project: Hive > Issue Type: Improvement >Reporter: Gabor Liptak >Assignee: Gabor Liptak >Priority: Minor > Attachments: HIVE-13473.2.patch > > -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HIVE-13473) upgrade Apache Directory Server version
[ https://issues.apache.org/jira/browse/HIVE-13473?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gabor Liptak updated HIVE-13473: Release Note: HIVE-13473 Upgrade Apache Directory Server version Status: Patch Available (was: Open) [~ashutoshc] > upgrade Apache Directory Server version > --- > > Key: HIVE-13473 > URL: https://issues.apache.org/jira/browse/HIVE-13473 > Project: Hive > Issue Type: Improvement >Reporter: Gabor Liptak >Assignee: Gabor Liptak >Priority: Minor > Attachments: HIVE-13473.1.patch > > -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HIVE-13473) upgrade Apache Directory Server version
[ https://issues.apache.org/jira/browse/HIVE-13473?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gabor Liptak updated HIVE-13473: Attachment: HIVE-13473.1.patch > upgrade Apache Directory Server version > --- > > Key: HIVE-13473 > URL: https://issues.apache.org/jira/browse/HIVE-13473 > Project: Hive > Issue Type: Improvement >Reporter: Gabor Liptak >Assignee: Gabor Liptak >Priority: Minor > Attachments: HIVE-13473.1.patch > > -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HIVE-10293) enabling travis-ci build?
[ https://issues.apache.org/jira/browse/HIVE-10293?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15234237#comment-15234237 ] Gabor Liptak commented on HIVE-10293: - https://issues.apache.org/jira/browse/HIVE-13473 > enabling travis-ci build? > - > > Key: HIVE-10293 > URL: https://issues.apache.org/jira/browse/HIVE-10293 > Project: Hive > Issue Type: Improvement > Components: Build Infrastructure >Reporter: Gabor Liptak >Assignee: Gabor Liptak >Priority: Minor > Attachments: HIVE-10293.1.patch > > > I would like to contribute a .travis.yml for Hive. > In particular, this would allow contributors working through Github, to > validate their own commits on their own branches. > Please comment. > Thanks -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HIVE-10293) enabling travis-ci build?
[ https://issues.apache.org/jira/browse/HIVE-10293?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gabor Liptak updated HIVE-10293: Release Note: HIVE-10293 Add travis build configuration Status: Patch Available (was: Open) I removed the LDAP minor version change from this patch (as I didn't get successful test run with it). > enabling travis-ci build? > - > > Key: HIVE-10293 > URL: https://issues.apache.org/jira/browse/HIVE-10293 > Project: Hive > Issue Type: Improvement > Components: Build Infrastructure >Reporter: Gabor Liptak >Assignee: Gabor Liptak >Priority: Minor > Attachments: HIVE-10293.1.patch > > > I would like to contribute a .travis.yml for Hive. > In particular, this would allow contributors working through Github, to > validate their own commits on their own branches. > Please comment. > Thanks -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HIVE-10293) enabling travis-ci build?
[ https://issues.apache.org/jira/browse/HIVE-10293?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gabor Liptak updated HIVE-10293: Attachment: HIVE-10293.1.patch > enabling travis-ci build? > - > > Key: HIVE-10293 > URL: https://issues.apache.org/jira/browse/HIVE-10293 > Project: Hive > Issue Type: Improvement > Components: Build Infrastructure >Reporter: Gabor Liptak >Assignee: Gabor Liptak >Priority: Minor > Attachments: HIVE-10293.1.patch > > > I would like to contribute a .travis.yml for Hive. > In particular, this would allow contributors working through Github, to > validate their own commits on their own branches. > Please comment. > Thanks -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HIVE-10293) enabling travis-ci build?
[ https://issues.apache.org/jira/browse/HIVE-10293?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15234169#comment-15234169 ] Gabor Liptak commented on HIVE-10293: - Even splitting the tests into two, we will still run into the 50 minutes limit ... https://travis-ci.org/gliptak/hive/builds/122060116 > enabling travis-ci build? > - > > Key: HIVE-10293 > URL: https://issues.apache.org/jira/browse/HIVE-10293 > Project: Hive > Issue Type: Improvement > Components: Build Infrastructure >Reporter: Gabor Liptak >Priority: Minor > > I would like to contribute a .travis.yml for Hive. > In particular, this would allow contributors working through Github, to > validate their own commits on their own branches. > Please comment. > Thanks -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HIVE-10293) enabling travis-ci build?
[ https://issues.apache.org/jira/browse/HIVE-10293?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15234101#comment-15234101 ] Gabor Liptak commented on HIVE-10293: - By enabling the tests, the build (job?) timed out at 50 minutes (hardcoded from travis-ci.org ...) https://travis-ci.org/apache/hive/builds/121990748 https://docs.travis-ci.com/user/customizing-the-build/#Build-Timeouts My recommendation would be to enable just install only with further enhancements as a followup JIRA. > enabling travis-ci build? > - > > Key: HIVE-10293 > URL: https://issues.apache.org/jira/browse/HIVE-10293 > Project: Hive > Issue Type: Improvement > Components: Build Infrastructure >Reporter: Gabor Liptak >Priority: Minor > > I would like to contribute a .travis.yml for Hive. > In particular, this would allow contributors working through Github, to > validate their own commits on their own branches. > Please comment. > Thanks -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HIVE-10293) enabling travis-ci build?
[ https://issues.apache.org/jira/browse/HIVE-10293?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15233808#comment-15233808 ] Gabor Liptak commented on HIVE-10293: - The build was successful. > enabling travis-ci build? > - > > Key: HIVE-10293 > URL: https://issues.apache.org/jira/browse/HIVE-10293 > Project: Hive > Issue Type: Improvement > Components: Build Infrastructure >Reporter: Gabor Liptak >Priority: Minor > > I would like to contribute a .travis.yml for Hive. > In particular, this would allow contributors working through Github, to > validate their own commits on their own branches. > Please comment. > Thanks -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HIVE-10293) enabling travis-ci build?
[ https://issues.apache.org/jira/browse/HIVE-10293?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15233803#comment-15233803 ] Gabor Liptak commented on HIVE-10293: - I got a successful build at https://travis-ci.org/gliptak/hive I had to bump an LDAP minor version. Let's see how this works out https://travis-ci.org/apache/hive/builds/121988417 > enabling travis-ci build? > - > > Key: HIVE-10293 > URL: https://issues.apache.org/jira/browse/HIVE-10293 > Project: Hive > Issue Type: Improvement > Components: Build Infrastructure >Reporter: Gabor Liptak >Priority: Minor > > I would like to contribute a .travis.yml for Hive. > In particular, this would allow contributors working through Github, to > validate their own commits on their own branches. > Please comment. > Thanks -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HIVE-10293) enabling travis-ci build?
[ https://issues.apache.org/jira/browse/HIVE-10293?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15233794#comment-15233794 ] Gabor Liptak commented on HIVE-10293: - Yes, I no longer see the memory limit, now I see the missing ldap-client-api (as comment above) https://travis-ci.org/gliptak/hive/builds/121985114 I'm not sure why it is trying for SNAPSHOT ... Is there another Maven repo I'm to point to? > enabling travis-ci build? > - > > Key: HIVE-10293 > URL: https://issues.apache.org/jira/browse/HIVE-10293 > Project: Hive > Issue Type: Improvement > Components: Build Infrastructure >Reporter: Gabor Liptak >Priority: Minor > > I would like to contribute a .travis.yml for Hive. > In particular, this would allow contributors working through Github, to > validate their own commits on their own branches. > Please comment. > Thanks -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HIVE-10293) enabling travis-ci build?
[ https://issues.apache.org/jira/browse/HIVE-10293?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15233788#comment-15233788 ] Gabor Liptak commented on HIVE-10293: - https://repository.apache.org/snapshots/org/apache/directory/client/ldap/ldap-client-api/ no longer has version 0.1 ... > enabling travis-ci build? > - > > Key: HIVE-10293 > URL: https://issues.apache.org/jira/browse/HIVE-10293 > Project: Hive > Issue Type: Improvement > Components: Build Infrastructure >Reporter: Gabor Liptak >Priority: Minor > > I would like to contribute a .travis.yml for Hive. > In particular, this would allow contributors working through Github, to > validate their own commits on their own branches. > Please comment. > Thanks -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HIVE-10293) enabling travis-ci build?
[ https://issues.apache.org/jira/browse/HIVE-10293?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15233741#comment-15233741 ] Gabor Liptak commented on HIVE-10293: - I ran into a memory issue https://github.com/travis-ci/travis-ci/issues/5615 > enabling travis-ci build? > - > > Key: HIVE-10293 > URL: https://issues.apache.org/jira/browse/HIVE-10293 > Project: Hive > Issue Type: Improvement > Components: Build Infrastructure >Reporter: Gabor Liptak >Priority: Minor > > I would like to contribute a .travis.yml for Hive. > In particular, this would allow contributors working through Github, to > validate their own commits on their own branches. > Please comment. > Thanks -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HIVE-10293) enabling travis-ci build?
[ https://issues.apache.org/jira/browse/HIVE-10293?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15233716#comment-15233716 ] Gabor Liptak commented on HIVE-10293: - https://travis-ci.org/apache/hive nice :) I'm in the process of creating a basic .travis.yml https://travis-ci.org/gliptak/hive > enabling travis-ci build? > - > > Key: HIVE-10293 > URL: https://issues.apache.org/jira/browse/HIVE-10293 > Project: Hive > Issue Type: Improvement > Components: Build Infrastructure >Reporter: Gabor Liptak >Priority: Minor > > I would like to contribute a .travis.yml for Hive. > In particular, this would allow contributors working through Github, to > validate their own commits on their own branches. > Please comment. > Thanks -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HIVE-10293) enabling travis-ci build?
[ https://issues.apache.org/jira/browse/HIVE-10293?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15233684#comment-15233684 ] Gabor Liptak commented on HIVE-10293: - [~ashutoshc] Can you update the configuration for https://travis-ci.org/apache ? Thanks > enabling travis-ci build? > - > > Key: HIVE-10293 > URL: https://issues.apache.org/jira/browse/HIVE-10293 > Project: Hive > Issue Type: Improvement > Components: Build Infrastructure >Reporter: Gabor Liptak >Priority: Minor > > I would like to contribute a .travis.yml for Hive. > In particular, this would allow contributors working through Github, to > validate their own commits on their own branches. > Please comment. > Thanks -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HIVE-12605) Implement JDBC Connection.isValid
[ https://issues.apache.org/jira/browse/HIVE-12605?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gabor Liptak updated HIVE-12605: Attachment: HIVE-12605.3.patch > Implement JDBC Connection.isValid > - > > Key: HIVE-12605 > URL: https://issues.apache.org/jira/browse/HIVE-12605 > Project: Hive > Issue Type: Bug > Components: HiveServer2, JDBC >Reporter: Thejas M Nair > Labels: newbie, trivial > Attachments: HIVE-12605.1.patch, HIVE-12605.2.patch, > HIVE-12605.3.patch > > > http://docs.oracle.com/javase/7/docs/api/java/sql/Connection.html#isValid(int) > implementation in Hive JDBC driver throws "SQLException("Method not > supported")". > That is a method often used by connection pooling libraries. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HIVE-12605) Implement JDBC Connection.isValid
[ https://issues.apache.org/jira/browse/HIVE-12605?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gabor Liptak updated HIVE-12605: Attachment: HIVE-12605.2.patch > Implement JDBC Connection.isValid > - > > Key: HIVE-12605 > URL: https://issues.apache.org/jira/browse/HIVE-12605 > Project: Hive > Issue Type: Bug > Components: HiveServer2, JDBC >Reporter: Thejas M Nair > Labels: newbie, trivial > Attachments: HIVE-12605.1.patch, HIVE-12605.2.patch > > > http://docs.oracle.com/javase/7/docs/api/java/sql/Connection.html#isValid(int) > implementation in Hive JDBC driver throws "SQLException("Method not > supported")". > That is a method often used by connection pooling libraries. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HIVE-12605) Implement JDBC Connection.isValid
[ https://issues.apache.org/jira/browse/HIVE-12605?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15063306#comment-15063306 ] Gabor Liptak commented on HIVE-12605: - [~thejas] Would this be a good approach? Thanks > Implement JDBC Connection.isValid > - > > Key: HIVE-12605 > URL: https://issues.apache.org/jira/browse/HIVE-12605 > Project: Hive > Issue Type: Bug > Components: HiveServer2, JDBC >Reporter: Thejas M Nair > Labels: newbie, trivial > Attachments: HIVE-12605.1.patch > > > http://docs.oracle.com/javase/7/docs/api/java/sql/Connection.html#isValid(int) > implementation in Hive JDBC driver throws "SQLException("Method not > supported")". > That is a method often used by connection pooling libraries. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HIVE-12605) Implement JDBC Connection.isValid
[ https://issues.apache.org/jira/browse/HIVE-12605?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gabor Liptak updated HIVE-12605: Attachment: HIVE-12605.1.patch > Implement JDBC Connection.isValid > - > > Key: HIVE-12605 > URL: https://issues.apache.org/jira/browse/HIVE-12605 > Project: Hive > Issue Type: Bug > Components: HiveServer2, JDBC >Reporter: Thejas M Nair > Labels: newbie, trivial > Attachments: HIVE-12605.1.patch > > > http://docs.oracle.com/javase/7/docs/api/java/sql/Connection.html#isValid(int) > implementation in Hive JDBC driver throws "SQLException("Method not > supported")". > That is a method often used by connection pooling libraries. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HIVE-12593) spelling mistake in Alter table script to change 'collection items terminated by' value
[ https://issues.apache.org/jira/browse/HIVE-12593?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15042398#comment-15042398 ] Gabor Liptak commented on HIVE-12593: - This typo is baked into the Serde Thrift protocol: {code} ./hcatalog/src/test/e2e/hcatalog/tests/hcat.conf ./ql/src/test/results/clientpositive/orc_create.q.out ./ql/src/test/results/clientpositive/show_create_table_delimited.q.out ./ql/src/test/results/clientpositive/parquet_mixed_partition_formats.q.out ./serde/if/serde.thrift {code} Maybe a Committer can offer an approach? > spelling mistake in Alter table script to change 'collection items terminated > by' value > --- > > Key: HIVE-12593 > URL: https://issues.apache.org/jira/browse/HIVE-12593 > Project: Hive > Issue Type: Bug > Components: Hive >Reporter: laxdeep bomble >Priority: Minor > > Step 1: > create table using following script: > create table customer > (arr array) > row format delimited > collection items terminated by '$' > Step2: Alter the table using following script: > ALTER TABLE customer SET SERDEPROPERTIES ('collection.delim'='%') > Step3: Execute the 'show create table customer' command. > It is observed that the 'collection items terminated by' value is not gets > changed. > Step4: Execute the following command: > ALTER TABLE customer > SET SERDEPROPERTIES ('colelction.delim' = '%'); > Step5: Observe the 'show create table customer' result: > 'collection items terminated by' value is reflected. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Assigned] (HIVE-10803) document jdbc url format properly
[ https://issues.apache.org/jira/browse/HIVE-10803?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gabor Liptak reassigned HIVE-10803: --- Assignee: Gabor Liptak > document jdbc url format properly > - > > Key: HIVE-10803 > URL: https://issues.apache.org/jira/browse/HIVE-10803 > Project: Hive > Issue Type: Bug > Components: Documentation, HiveServer2 >Reporter: Thejas M Nair >Assignee: Gabor Liptak > > This is the format of the HS2 string, this needs to be documented in the wiki > doc (taken from jdbc.Utils.java) > > jdbc:hive2://:,:/dbName;sess_var_list?hive_conf_list#hive_var_list -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HIVE-7150) FileInputStream is not closed in HiveConnection#getHttpClient()
[ https://issues.apache.org/jira/browse/HIVE-7150?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14604186#comment-14604186 ] Gabor Liptak commented on HIVE-7150: [~apivovarov] Thank you for extending the patch > FileInputStream is not closed in HiveConnection#getHttpClient() > --- > > Key: HIVE-7150 > URL: https://issues.apache.org/jira/browse/HIVE-7150 > Project: Hive > Issue Type: Bug >Reporter: Ted Yu >Assignee: Alexander Pivovarov > Labels: jdbc > Attachments: HIVE-7150.1.patch, HIVE-7150.2.patch, HIVE-7150.3.patch > > > Here is related code: > {code} > sslTrustStore.load(new FileInputStream(sslTrustStorePath), > sslTrustStorePassword.toCharArray()); > {code} > The FileInputStream is not closed upon returning from the method. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HIVE-10803) document jdbc url format properly
[ https://issues.apache.org/jira/browse/HIVE-10803?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14599501#comment-14599501 ] Gabor Liptak commented on HIVE-10803: - [~thejas] Did you have a chance to review? Thanks > document jdbc url format properly > - > > Key: HIVE-10803 > URL: https://issues.apache.org/jira/browse/HIVE-10803 > Project: Hive > Issue Type: Bug > Components: Documentation, HiveServer2 >Reporter: Thejas M Nair > > This is the format of the HS2 string, this needs to be documented in the wiki > doc (taken from jdbc.Utils.java) > > jdbc:hive2://:,:/dbName;sess_var_list?hive_conf_list#hive_var_list -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HIVE-7150) FileInputStream is not closed in HiveConnection#getHttpClient()
[ https://issues.apache.org/jira/browse/HIVE-7150?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14584108#comment-14584108 ] Gabor Liptak commented on HIVE-7150: Any other improvements needed before this can be considered for merging? Thanks > FileInputStream is not closed in HiveConnection#getHttpClient() > --- > > Key: HIVE-7150 > URL: https://issues.apache.org/jira/browse/HIVE-7150 > Project: Hive > Issue Type: Bug >Reporter: Ted Yu > Labels: jdbc > Attachments: HIVE-7150.1.patch, HIVE-7150.2.patch > > > Here is related code: > {code} > sslTrustStore.load(new FileInputStream(sslTrustStorePath), > sslTrustStorePassword.toCharArray()); > {code} > The FileInputStream is not closed upon returning from the method. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HIVE-7150) FileInputStream is not closed in HiveConnection#getHttpClient()
[ https://issues.apache.org/jira/browse/HIVE-7150?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14562138#comment-14562138 ] Gabor Liptak commented on HIVE-7150: [~tedyu] I modified to log the exception. > FileInputStream is not closed in HiveConnection#getHttpClient() > --- > > Key: HIVE-7150 > URL: https://issues.apache.org/jira/browse/HIVE-7150 > Project: Hive > Issue Type: Bug >Reporter: Ted Yu > Labels: jdbc > Attachments: HIVE-7150.1.patch, HIVE-7150.2.patch > > > Here is related code: > {code} > sslTrustStore.load(new FileInputStream(sslTrustStorePath), > sslTrustStorePassword.toCharArray()); > {code} > The FileInputStream is not closed upon returning from the method. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HIVE-7150) FileInputStream is not closed in HiveConnection#getHttpClient()
[ https://issues.apache.org/jira/browse/HIVE-7150?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gabor Liptak updated HIVE-7150: --- Attachment: HIVE-7150.2.patch > FileInputStream is not closed in HiveConnection#getHttpClient() > --- > > Key: HIVE-7150 > URL: https://issues.apache.org/jira/browse/HIVE-7150 > Project: Hive > Issue Type: Bug >Reporter: Ted Yu > Labels: jdbc > Attachments: HIVE-7150.1.patch, HIVE-7150.2.patch > > > Here is related code: > {code} > sslTrustStore.load(new FileInputStream(sslTrustStorePath), > sslTrustStorePassword.toCharArray()); > {code} > The FileInputStream is not closed upon returning from the method. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Resolved] (HIVE-10818) Cleanup several Checkstyle warnings
[ https://issues.apache.org/jira/browse/HIVE-10818?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gabor Liptak resolved HIVE-10818. - Resolution: Invalid Wrong component. > Cleanup several Checkstyle warnings > --- > > Key: HIVE-10818 > URL: https://issues.apache.org/jira/browse/HIVE-10818 > Project: Hive > Issue Type: Bug >Reporter: Gabor Liptak >Priority: Minor > -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HIVE-10818) Cleanup several Checkstyle warnings
[ https://issues.apache.org/jira/browse/HIVE-10818?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gabor Liptak updated HIVE-10818: Priority: Minor (was: Major) > Cleanup several Checkstyle warnings > --- > > Key: HIVE-10818 > URL: https://issues.apache.org/jira/browse/HIVE-10818 > Project: Hive > Issue Type: Bug >Reporter: Gabor Liptak >Priority: Minor > -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HIVE-10803) document jdbc url format properly
[ https://issues.apache.org/jira/browse/HIVE-10803?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14558308#comment-14558308 ] Gabor Liptak commented on HIVE-10803: - [~thejas] I added a new section to the wiki. Please review. > document jdbc url format properly > - > > Key: HIVE-10803 > URL: https://issues.apache.org/jira/browse/HIVE-10803 > Project: Hive > Issue Type: Bug > Components: Documentation, HiveServer2 >Reporter: Thejas M Nair > > This is the format of the HS2 string, this needs to be documented in the wiki > doc (taken from jdbc.Utils.java) > > jdbc:hive2://:,:/dbName;sess_var_list?hive_conf_list#hive_var_list -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HIVE-10803) document jdbc url format properly
[ https://issues.apache.org/jira/browse/HIVE-10803?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14557888#comment-14557888 ] Gabor Liptak commented on HIVE-10803: - Do you see this added as a common description section to https://cwiki.apache.org/confluence/display/Hive/HiveServer2+Clients#HiveServer2Clients-ConnectionURLs Thanks > document jdbc url format properly > - > > Key: HIVE-10803 > URL: https://issues.apache.org/jira/browse/HIVE-10803 > Project: Hive > Issue Type: Bug > Components: Documentation, HiveServer2 >Reporter: Thejas M Nair > > This is the format of the HS2 string, this needs to be documented in the wiki > doc (taken from jdbc.Utils.java) > > jdbc:hive2://:,:/dbName;sess_var_list?hive_conf_list#hive_var_list -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HIVE-10806) Incorrect example for exploding map function in hive wiki
[ https://issues.apache.org/jira/browse/HIVE-10806?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14557880#comment-14557880 ] Gabor Liptak commented on HIVE-10806: - I updated the wiki. Please consider closing. > Incorrect example for exploding map function in hive wiki > - > > Key: HIVE-10806 > URL: https://issues.apache.org/jira/browse/HIVE-10806 > Project: Hive > Issue Type: Bug > Components: Documentation >Affects Versions: 0.10.0 >Reporter: anup b >Priority: Trivial > > In hive wiki, example for exploding map is wrong it doesnt work in hive 0.10 > Example given in wiki which doesnt work: > SELECT explode(myMap) AS myMapKey, myMapValue FROM myMapTable; > It should be updated to : > SELECT explode(myMap) AS (myMapKey, myMapValue) FROM myMapTable; > Link : > https://cwiki.apache.org/confluence/display/Hive/LanguageManual+UDF#LanguageManualUDF-explode -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HIVE-10803) document jdbc url format properly
[ https://issues.apache.org/jira/browse/HIVE-10803?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14557444#comment-14557444 ] Gabor Liptak commented on HIVE-10803: - [~thejas] How does one get access to edit the wiki? > document jdbc url format properly > - > > Key: HIVE-10803 > URL: https://issues.apache.org/jira/browse/HIVE-10803 > Project: Hive > Issue Type: Bug > Components: Documentation, HiveServer2 >Reporter: Thejas M Nair > > This is the format of the HS2 string, this needs to be documented in the wiki > doc (taken from jdbc.Utils.java) > > jdbc:hive2://:,:/dbName;sess_var_list?hive_conf_list#hive_var_list -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HIVE-10806) Incorrect example for exploding map function in hive wiki
[ https://issues.apache.org/jira/browse/HIVE-10806?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14557443#comment-14557443 ] Gabor Liptak commented on HIVE-10806: - This is the section referenced: https://cwiki.apache.org/confluence/display/Hive/LanguageManual+UDF#LanguageManualUDF-explode I do not seem to have permissions to edit the wiki ... > Incorrect example for exploding map function in hive wiki > - > > Key: HIVE-10806 > URL: https://issues.apache.org/jira/browse/HIVE-10806 > Project: Hive > Issue Type: Bug > Components: Documentation >Affects Versions: 0.10.0 >Reporter: anup b >Priority: Trivial > > In hive wiki, example for exploding map is wrong it doesnt work in hive 0.10 > Example given in wiki which doesnt work: > SELECT explode(myMap) AS myMapKey, myMapValue FROM myMapTable; > It should be updated to : > SELECT explode(myMap) AS (myMapKey, myMapValue) FROM myMapTable; > Link : > https://cwiki.apache.org/confluence/display/Hive/LanguageManual+UDF#LanguageManualUDF-explode -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HIVE-7150) FileInputStream is not closed in HiveConnection#getHttpClient()
[ https://issues.apache.org/jira/browse/HIVE-7150?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14516124#comment-14516124 ] Gabor Liptak commented on HIVE-7150: Is there a way to force a Hive QA build? Thanks > FileInputStream is not closed in HiveConnection#getHttpClient() > --- > > Key: HIVE-7150 > URL: https://issues.apache.org/jira/browse/HIVE-7150 > Project: Hive > Issue Type: Bug >Reporter: Ted Yu > Labels: jdbc > Fix For: 1.2.0 > > Attachments: HIVE-7150.1.patch > > > Here is related code: > {code} > sslTrustStore.load(new FileInputStream(sslTrustStorePath), > sslTrustStorePassword.toCharArray()); > {code} > The FileInputStream is not closed upon returning from the method. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HIVE-7150) FileInputStream is not closed in HiveConnection#getHttpClient()
[ https://issues.apache.org/jira/browse/HIVE-7150?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14512568#comment-14512568 ] Gabor Liptak commented on HIVE-7150: I uploaded an upodated patch (but the QA build didn't run ...) > FileInputStream is not closed in HiveConnection#getHttpClient() > --- > > Key: HIVE-7150 > URL: https://issues.apache.org/jira/browse/HIVE-7150 > Project: Hive > Issue Type: Bug >Reporter: Ted Yu > Labels: jdbc > Fix For: 1.2.0 > > Attachments: HIVE-7150.1.patch > > > Here is related code: > {code} > sslTrustStore.load(new FileInputStream(sslTrustStorePath), > sslTrustStorePassword.toCharArray()); > {code} > The FileInputStream is not closed upon returning from the method. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HIVE-7150) FileInputStream is not closed in HiveConnection#getHttpClient()
[ https://issues.apache.org/jira/browse/HIVE-7150?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gabor Liptak updated HIVE-7150: --- Attachment: (was: HIVE-7150.patch) > FileInputStream is not closed in HiveConnection#getHttpClient() > --- > > Key: HIVE-7150 > URL: https://issues.apache.org/jira/browse/HIVE-7150 > Project: Hive > Issue Type: Bug >Reporter: Ted Yu > Labels: jdbc > Fix For: 1.2.0 > > Attachments: HIVE-7150.1.patch > > > Here is related code: > {code} > sslTrustStore.load(new FileInputStream(sslTrustStorePath), > sslTrustStorePassword.toCharArray()); > {code} > The FileInputStream is not closed upon returning from the method. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HIVE-7150) FileInputStream is not closed in HiveConnection#getHttpClient()
[ https://issues.apache.org/jira/browse/HIVE-7150?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gabor Liptak updated HIVE-7150: --- Attachment: HIVE-7150.1.patch > FileInputStream is not closed in HiveConnection#getHttpClient() > --- > > Key: HIVE-7150 > URL: https://issues.apache.org/jira/browse/HIVE-7150 > Project: Hive > Issue Type: Bug >Reporter: Ted Yu > Labels: jdbc > Fix For: 1.2.0 > > Attachments: HIVE-7150.1.patch, HIVE-7150.patch > > > Here is related code: > {code} > sslTrustStore.load(new FileInputStream(sslTrustStorePath), > sslTrustStorePassword.toCharArray()); > {code} > The FileInputStream is not closed upon returning from the method. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HIVE-7150) FileInputStream is not closed in HiveConnection#getHttpClient()
[ https://issues.apache.org/jira/browse/HIVE-7150?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14490705#comment-14490705 ] Gabor Liptak commented on HIVE-7150: Please code review. Thanks > FileInputStream is not closed in HiveConnection#getHttpClient() > --- > > Key: HIVE-7150 > URL: https://issues.apache.org/jira/browse/HIVE-7150 > Project: Hive > Issue Type: Bug >Reporter: Ted Yu > Labels: jdbc > Fix For: 1.2.0 > > Attachments: HIVE-7150.patch > > > Here is related code: > {code} > sslTrustStore.load(new FileInputStream(sslTrustStorePath), > sslTrustStorePassword.toCharArray()); > {code} > The FileInputStream is not closed upon returning from the method. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HIVE-10269) HiveMetaStore.java:[6089,29] cannot find symbol class JvmPauseMonitor
[ https://issues.apache.org/jira/browse/HIVE-10269?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14486377#comment-14486377 ] Gabor Liptak commented on HIVE-10269: - Build works with: $ mvn clean install -DskipTests -Phadoop-2 > HiveMetaStore.java:[6089,29] cannot find symbol class JvmPauseMonitor > - > > Key: HIVE-10269 > URL: https://issues.apache.org/jira/browse/HIVE-10269 > Project: Hive > Issue Type: Bug > Components: Metastore >Reporter: Gabor Liptak > > Compiling trunk fails when building based on instructions in > https://cwiki.apache.org/confluence/display/Hive/HowToContribute > $ git status > On branch trunk > Your branch is up-to-date with 'origin/trunk'. > nothing to commit, working directory clean > $ mvn clean install -DskipTests -Phadoop-1 > ...[ERROR] Failed to execute goal > org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) > on project hive-metastore: Compilation failure: Compilation failure: > [ERROR] > /tmp/hive/metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java:[6089,29] > cannot find symbol > [ERROR] symbol: class JvmPauseMonitor > [ERROR] location: package org.apache.hadoop.util > [ERROR] > /tmp/hive/metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java:[6090,35] > cannot find symbol > [ERROR] symbol: class JvmPauseMonitor > [ERROR] location: package org.apache.hadoop.util > [ERROR] -> [Help 1] > [ERROR] > [ERROR] To see the full stack trace of the errors, re-run Maven with the -e > switch. > [ERROR] Re-run Maven using the -X switch to enable full debug logging. > [ERROR] > [ERROR] For more information about the errors and possible solutions, please > read the following articles: > [ERROR] [Help 1] > http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException > [ERROR] > [ERROR] After correcting the problems, you can resume the build with the > command > [ERROR] mvn -rf :hive-metastore -- This message was sent by Atlassian JIRA (v6.3.4#6332)