GitHub user gsralex opened a pull request: https://github.com/apache/hive/pull/520
OpenSession `TTransport transport = new TSocket("m1", 10000); transport.open(); TCLIService.Client client = new TCLIService.Client(new TBinaryProtocol(transport)); TOpenSessionReq openSessionReq = new TOpenSessionReq(); TOpenSessionResp resp = client.OpenSession(openSessionReq); //this line throw inner exception` Exception in thread "main" org.apache.thrift.transport.TTransportException at org.apache.thrift.transport.TIOStreamTransport.read(TIOStreamTransport.java:132) at org.apache.thrift.transport.TTransport.readAll(TTransport.java:86) at org.apache.thrift.protocol.TBinaryProtocol.readStringBody(TBinaryProtocol.java:380) at org.apache.thrift.protocol.TBinaryProtocol.readMessageBegin(TBinaryProtocol.java:230) at org.apache.thrift.TServiceClient.receiveBase(TServiceClient.java:77) at org.apache.hive.service.rpc.thrift.TCLIService$Client.recv_OpenSession(TCLIService.java:168) at org.apache.hive.service.rpc.thrift.TCLIService$Client.OpenSession(TCLIService.java:155) You can merge this pull request into a Git repository by running: $ git pull https://github.com/apache/hive HIVE-4115 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/hive/pull/520.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #520 ---- commit 6b6ae79cefa1b85fae9c60c8ea609e2d9a788326 Author: Amareshwari Sri Ramadasu <amareshwari@...> Date: 2013-03-14T06:14:47Z Branching for HIVE-4115 git-svn-id: https://svn.apache.org/repos/asf/hive/branches/HIVE-4115@1456340 13f79535-47bb-0310-9956-ffa450edef68 commit 38852a48c048eb11f8ecd702697dbf12db8850e7 Author: Amareshwari Sri Ramadasu <amareshwari@...> Date: 2013-03-14T08:09:31Z Add cube metastore git-svn-id: https://svn.apache.org/repos/asf/hive/branches/HIVE-4115@1456360 13f79535-47bb-0310-9956-ffa450edef68 commit bcd556dcae6c44155f9401bbca78529be372a592 Author: Amareshwari Sri Ramadasu <amareshwari@...> Date: 2013-03-14T08:16:24Z Add cube query processing git-svn-id: https://svn.apache.org/repos/asf/hive/branches/HIVE-4115@1456361 13f79535-47bb-0310-9956-ffa450edef68 commit 60b6e53916e62b58811fcb760e30ac7d2772c570 Author: Amareshwari Sri Ramadasu <amareshwari@...> Date: 2013-03-25T10:30:41Z Make CubeMeasure and CubeDimension abstract classes, add HierarchicalDimension which extends CubeDimnsion git-svn-id: https://svn.apache.org/repos/asf/hive/branches/HIVE-4115@1460595 13f79535-47bb-0310-9956-ffa450edef68 commit 03bb834886d20395902bb5738262c61ca29debe4 Author: Amareshwari Sri Ramadasu <amareshwari@...> Date: 2013-04-01T07:00:00Z Merging r1456340 through r1463086 into HIVE-4115 branch git-svn-id: https://svn.apache.org/repos/asf/hive/branches/HIVE-4115@1463091 13f79535-47bb-0310-9956-ffa450edef68 commit d02e5db417ed4c261685e85dc3f7a55ea59769d0 Author: Amareshwari Sri Ramadasu <amareshwari@...> Date: 2013-04-02T07:00:22Z Add partition resolver git-svn-id: https://svn.apache.org/repos/asf/hive/branches/HIVE-4115@1463407 13f79535-47bb-0310-9956-ffa450edef68 commit 7fcc1387033353882b8dff288712e615261e0a13 Author: Amareshwari Sri Ramadasu <amareshwari@...> Date: 2013-04-03T05:06:47Z Add storage table resolver git-svn-id: https://svn.apache.org/repos/asf/hive/branches/HIVE-4115@1463825 13f79535-47bb-0310-9956-ffa450edef68 commit e68f0401242b3d031783e740c3646f4296aa3a12 Author: Amareshwari Sri Ramadasu <amareshwari@...> Date: 2013-04-05T10:34:08Z Merging r1463087 through r1464904 into branch HIVE-4115 git-svn-id: https://svn.apache.org/repos/asf/hive/branches/HIVE-4115@1464915 13f79535-47bb-0310-9956-ffa450edef68 commit 82e26730291de424b8aff6ae7bead85e24e9d8ae Author: Amareshwari Sri Ramadasu <amareshwari@...> Date: 2013-04-05T10:39:27Z Add support for dimension only queries git-svn-id: https://svn.apache.org/repos/asf/hive/branches/HIVE-4115@1464916 13f79535-47bb-0310-9956-ffa450edef68 commit 5c4de8ff30b4ceb01a568c4d8432fbba5e7615c4 Author: Amareshwari Sri Ramadasu <amareshwari@...> Date: 2013-04-05T10:44:14Z Add supported storages configuration git-svn-id: https://svn.apache.org/repos/asf/hive/branches/HIVE-4115@1464920 13f79535-47bb-0310-9956-ffa450edef68 commit 0f090ac7d799ef696602eaa13209f1a0e25a62cb Author: Amareshwari Sri Ramadasu <amareshwari@...> Date: 2013-04-17T07:29:38Z Merging r1464905 through r1468761 into HIVE-4115 git-svn-id: https://svn.apache.org/repos/asf/hive/branches/HIVE-4115@1468783 13f79535-47bb-0310-9956-ffa450edef68 commit 79fd560943f9eb5480416765a120c71928f8ed5a Author: Amareshwari Sri Ramadasu <amareshwari@...> Date: 2013-04-18T10:53:14Z Add test with monthly partition git-svn-id: https://svn.apache.org/repos/asf/hive/branches/HIVE-4115@1469273 13f79535-47bb-0310-9956-ffa450edef68 commit 469da948fce3cbae630ee18cb67406524fc2b331 Author: Amareshwari Sri Ramadasu <amareshwari@...> Date: 2013-04-19T11:39:45Z Merge CubeQueryContextWithStorage with CubeQueryContext git-svn-id: https://svn.apache.org/repos/asf/hive/branches/HIVE-4115@1469787 13f79535-47bb-0310-9956-ffa450edef68 commit 8e5f85d5f86c55b0b27e1ce47f6fa15511182084 Author: Amareshwari Sri Ramadasu <amareshwari@...> Date: 2013-04-25T12:12:08Z Add alias replacer for columns git-svn-id: https://svn.apache.org/repos/asf/hive/branches/HIVE-4115@1475719 13f79535-47bb-0310-9956-ffa450edef68 commit 14d989c746648dab30b4c84d2333609c72bcd443 Author: Amareshwari Sri Ramadasu <amareshwari@...> Date: 2013-04-26T04:59:50Z Merging r1468779 through r1476036 into HIVE-4115 git-svn-id: https://svn.apache.org/repos/asf/hive/branches/HIVE-4115@1476039 13f79535-47bb-0310-9956-ffa450edef68 commit 13f9341a6773bccb3a67009d1f70318d30e0c381 Author: Amareshwari Sri Ramadasu <amareshwari@...> Date: 2013-04-26T12:21:17Z Add groupby resolver - rewriter git-svn-id: https://svn.apache.org/repos/asf/hive/branches/HIVE-4115@1476166 13f79535-47bb-0310-9956-ffa450edef68 commit cf7e038f60407940d786899e4109a6c0526e345e Author: Amareshwari Sri Ramadasu <amareshwari@...> Date: 2013-04-29T11:51:15Z Add support for QUARTERLY update period git-svn-id: https://svn.apache.org/repos/asf/hive/branches/HIVE-4115@1476977 13f79535-47bb-0310-9956-ffa450edef68 commit 88323c552cb64e02c92d9c0c4220e604c296fa76 Author: Amareshwari Sri Ramadasu <amareshwari@...> Date: 2013-05-02T08:39:27Z Add candidate table resolver - rewriter git-svn-id: https://svn.apache.org/repos/asf/hive/branches/HIVE-4115@1478299 13f79535-47bb-0310-9956-ffa450edef68 commit 4e151e6d7b449b5cd7aefd9d7817c9f070fe7ad5 Author: Amareshwari Sri Ramadasu <amareshwari@...> Date: 2013-05-03T05:52:37Z Add least partition resolver git-svn-id: https://svn.apache.org/repos/asf/hive/branches/HIVE-4115@1478649 13f79535-47bb-0310-9956-ffa450edef68 commit 67264d87921fe2aecb717c79bdf95104ee4de12a Author: Amareshwari Sri Ramadasu <amareshwari@...> Date: 2013-05-06T07:03:54Z Add least dimension resolver git-svn-id: https://svn.apache.org/repos/asf/hive/branches/HIVE-4115@1479477 13f79535-47bb-0310-9956-ffa450edef68 commit 06547e37f7988058bd4bbf96162867bf9b0d0bf1 Author: Amareshwari Sri Ramadasu <amareshwari@...> Date: 2013-05-06T11:10:40Z Add aggregate resolver git-svn-id: https://svn.apache.org/repos/asf/hive/branches/HIVE-4115@1479522 13f79535-47bb-0310-9956-ffa450edef68 commit aa7dfb52b1abe9a73ab2f5c844700ac4a408783e Author: Amareshwari Sri Ramadasu <amareshwari@...> Date: 2013-05-08T04:30:30Z Add support for join with conditions specified git-svn-id: https://svn.apache.org/repos/asf/hive/branches/HIVE-4115@1480157 13f79535-47bb-0310-9956-ffa450edef68 commit 65a1acbc90049bb9539d85ab781f1d2ca1929e68 Author: Amareshwari Sri Ramadasu <amareshwari@...> Date: 2013-05-08T04:43:16Z Merging r1476037 through r1480157 into HIVE-4115 git-svn-id: https://svn.apache.org/repos/asf/hive/branches/HIVE-4115@1480158 13f79535-47bb-0310-9956-ffa450edef68 commit c496248457b77f8211b40ed8c39ae8e0d31cb42c Author: Amareshwari Sri Ramadasu <amareshwari@...> Date: 2013-05-08T08:48:57Z Merging r1480158 through r1480180 into HIVE-4115 git-svn-id: https://svn.apache.org/repos/asf/hive/branches/HIVE-4115@1480183 13f79535-47bb-0310-9956-ffa450edef68 commit bcd4af4daf6de2ff3165b3db123919bcc1ec76e2 Author: Amareshwari Sri Ramadasu <amareshwari@...> Date: 2013-05-08T12:22:29Z r1466579 into HIVE-4115 git-svn-id: https://svn.apache.org/repos/asf/hive/branches/HIVE-4115@1480246 13f79535-47bb-0310-9956-ffa450edef68 commit d55e2afa96672228ee08d9fbe4f7cd183c5c13df Author: Amareshwari Sri Ramadasu <amareshwari@...> Date: 2013-05-09T07:06:23Z Merge r1466579 into HIVE-4115 git-svn-id: https://svn.apache.org/repos/asf/hive/branches/HIVE-4115@1480539 13f79535-47bb-0310-9956-ffa450edef68 commit 6ce92385565bfc025997ed2615dfd0902366a12b Author: Amareshwari Sri Ramadasu <amareshwari@...> Date: 2013-05-09T07:10:21Z Merging r1480181 through r1480539 into HIVE-4115 git-svn-id: https://svn.apache.org/repos/asf/hive/branches/HIVE-4115@1480540 13f79535-47bb-0310-9956-ffa450edef68 commit 1a37ddb660afc3de43eee784130cbc2cadd62011 Author: Amareshwari Sri Ramadasu <amareshwari@...> Date: 2013-05-09T07:11:09Z Add validations for cube query git-svn-id: https://svn.apache.org/repos/asf/hive/branches/HIVE-4115@1480541 13f79535-47bb-0310-9956-ffa450edef68 commit 7117fbf0afe256b7c85ef7c28c4f42f50f796dbd Author: Amareshwari Sri Ramadasu <amareshwari@...> Date: 2013-05-09T08:32:48Z Fix checkstyle errors git-svn-id: https://svn.apache.org/repos/asf/hive/branches/HIVE-4115@1480557 13f79535-47bb-0310-9956-ffa450edef68 commit b2561ab09b29c6fb07199435bb18f09dbafa8649 Author: Amareshwari Sri Ramadasu <amareshwari@...> Date: 2013-05-13T05:35:14Z Add weight to cube tables - both fact and dimension git-svn-id: https://svn.apache.org/repos/asf/hive/branches/HIVE-4115@1481701 13f79535-47bb-0310-9956-ffa450edef68 ---- ---