[jira] [Commented] (HBASE-12781) thrift2 listen port will bind always to the passed command line address
[ https://issues.apache.org/jira/browse/HBASE-12781?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14263419#comment-14263419 ] Hudson commented on HBASE-12781: SUCCESS: Integrated in HBase-1.0 #628 (See [https://builds.apache.org/job/HBase-1.0/628/]) HBASE-12781 thrift2 listen port will bind always to the passed command line address (Pankaj Kumar) (enis: rev 8995d19049191ff4f6883f3d609a1aa2fddf880d) * hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/ThriftServer.java > thrift2 listen port will bind always to the passed command line address > --- > > Key: HBASE-12781 > URL: https://issues.apache.org/jira/browse/HBASE-12781 > Project: HBase > Issue Type: Bug > Components: Thrift >Affects Versions: 0.98.3 >Reporter: Pankaj Kumar >Assignee: Pankaj Kumar > Fix For: 1.0.0, 2.0.0, 0.98.10, 1.1.0 > > Attachments: 12781-V1.patch > > > In Thrift server, listen port will bind always to the address which is > passed through command line argument. > {code} > InetSocketAddress inetSocketAddress = bindToPort(cmd.getOptionValue("bind"), > listenPort); > {code} > {code} > private static InetSocketAddress bindToPort(String bindValue, int listenPort) > throws UnknownHostException { > try { > if (bindValue == null) { > return new InetSocketAddress(listenPort); > } else { > return new InetSocketAddress(InetAddress.getByName(bindValue), > listenPort); > } > } catch (UnknownHostException e) { > throw new RuntimeException("Could not bind to provided ip address", e); > } > } > {code} > In case when bind address is not passed through argument then it is binding > with any local address. It should read hbase.thrift.info.bindAddress value > from configuration first. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HBASE-12781) thrift2 listen port will bind always to the passed command line address
[ https://issues.apache.org/jira/browse/HBASE-12781?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14263380#comment-14263380 ] Enis Soztutar commented on HBASE-12781: --- Pushed to 1.0.0 as well. > thrift2 listen port will bind always to the passed command line address > --- > > Key: HBASE-12781 > URL: https://issues.apache.org/jira/browse/HBASE-12781 > Project: HBase > Issue Type: Bug > Components: Thrift >Affects Versions: 0.98.3 >Reporter: Pankaj Kumar >Assignee: Pankaj Kumar > Fix For: 1.0.0, 2.0.0, 0.98.10, 1.1.0 > > Attachments: 12781-V1.patch > > > In Thrift server, listen port will bind always to the address which is > passed through command line argument. > {code} > InetSocketAddress inetSocketAddress = bindToPort(cmd.getOptionValue("bind"), > listenPort); > {code} > {code} > private static InetSocketAddress bindToPort(String bindValue, int listenPort) > throws UnknownHostException { > try { > if (bindValue == null) { > return new InetSocketAddress(listenPort); > } else { > return new InetSocketAddress(InetAddress.getByName(bindValue), > listenPort); > } > } catch (UnknownHostException e) { > throw new RuntimeException("Could not bind to provided ip address", e); > } > } > {code} > In case when bind address is not passed through argument then it is binding > with any local address. It should read hbase.thrift.info.bindAddress value > from configuration first. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HBASE-12781) thrift2 listen port will bind always to the passed command line address
[ https://issues.apache.org/jira/browse/HBASE-12781?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14261896#comment-14261896 ] Pankaj Kumar commented on HBASE-12781: -- Thanks [~yuzhih...@gmail.com] for the review. :) > thrift2 listen port will bind always to the passed command line address > --- > > Key: HBASE-12781 > URL: https://issues.apache.org/jira/browse/HBASE-12781 > Project: HBase > Issue Type: Bug > Components: Thrift >Affects Versions: 0.98.3 >Reporter: Pankaj Kumar >Assignee: Pankaj Kumar > Fix For: 2.0.0, 0.98.10, 1.1.0 > > Attachments: 12781-V1.patch > > > In Thrift server, listen port will bind always to the address which is > passed through command line argument. > {code} > InetSocketAddress inetSocketAddress = bindToPort(cmd.getOptionValue("bind"), > listenPort); > {code} > {code} > private static InetSocketAddress bindToPort(String bindValue, int listenPort) > throws UnknownHostException { > try { > if (bindValue == null) { > return new InetSocketAddress(listenPort); > } else { > return new InetSocketAddress(InetAddress.getByName(bindValue), > listenPort); > } > } catch (UnknownHostException e) { > throw new RuntimeException("Could not bind to provided ip address", e); > } > } > {code} > In case when bind address is not passed through argument then it is binding > with any local address. It should read hbase.thrift.info.bindAddress value > from configuration first. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HBASE-12781) thrift2 listen port will bind always to the passed command line address
[ https://issues.apache.org/jira/browse/HBASE-12781?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14261380#comment-14261380 ] Hudson commented on HBASE-12781: SUCCESS: Integrated in HBase-0.98 #765 (See [https://builds.apache.org/job/HBase-0.98/765/]) HBASE-12781 thrift2 listen port will bind always to the passed command line address (Pankaj Kumar) (tedyu: rev 2885bd6a1538f28df2cf97ac5c34fbde6f359a9f) * hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/ThriftServer.java > thrift2 listen port will bind always to the passed command line address > --- > > Key: HBASE-12781 > URL: https://issues.apache.org/jira/browse/HBASE-12781 > Project: HBase > Issue Type: Bug > Components: Thrift >Affects Versions: 0.98.3 >Reporter: Pankaj Kumar >Assignee: Pankaj Kumar > Fix For: 2.0.0, 0.98.10, 1.1.0 > > Attachments: 12781-V1.patch > > > In Thrift server, listen port will bind always to the address which is > passed through command line argument. > {code} > InetSocketAddress inetSocketAddress = bindToPort(cmd.getOptionValue("bind"), > listenPort); > {code} > {code} > private static InetSocketAddress bindToPort(String bindValue, int listenPort) > throws UnknownHostException { > try { > if (bindValue == null) { > return new InetSocketAddress(listenPort); > } else { > return new InetSocketAddress(InetAddress.getByName(bindValue), > listenPort); > } > } catch (UnknownHostException e) { > throw new RuntimeException("Could not bind to provided ip address", e); > } > } > {code} > In case when bind address is not passed through argument then it is binding > with any local address. It should read hbase.thrift.info.bindAddress value > from configuration first. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HBASE-12781) thrift2 listen port will bind always to the passed command line address
[ https://issues.apache.org/jira/browse/HBASE-12781?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14261374#comment-14261374 ] Hudson commented on HBASE-12781: SUCCESS: Integrated in HBase-0.98-on-Hadoop-1.1 #731 (See [https://builds.apache.org/job/HBase-0.98-on-Hadoop-1.1/731/]) HBASE-12781 thrift2 listen port will bind always to the passed command line address (Pankaj Kumar) (tedyu: rev 2885bd6a1538f28df2cf97ac5c34fbde6f359a9f) * hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/ThriftServer.java > thrift2 listen port will bind always to the passed command line address > --- > > Key: HBASE-12781 > URL: https://issues.apache.org/jira/browse/HBASE-12781 > Project: HBase > Issue Type: Bug > Components: Thrift >Affects Versions: 0.98.3 >Reporter: Pankaj Kumar >Assignee: Pankaj Kumar > Fix For: 2.0.0, 0.98.10, 1.1.0 > > Attachments: 12781-V1.patch > > > In Thrift server, listen port will bind always to the address which is > passed through command line argument. > {code} > InetSocketAddress inetSocketAddress = bindToPort(cmd.getOptionValue("bind"), > listenPort); > {code} > {code} > private static InetSocketAddress bindToPort(String bindValue, int listenPort) > throws UnknownHostException { > try { > if (bindValue == null) { > return new InetSocketAddress(listenPort); > } else { > return new InetSocketAddress(InetAddress.getByName(bindValue), > listenPort); > } > } catch (UnknownHostException e) { > throw new RuntimeException("Could not bind to provided ip address", e); > } > } > {code} > In case when bind address is not passed through argument then it is binding > with any local address. It should read hbase.thrift.info.bindAddress value > from configuration first. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HBASE-12781) thrift2 listen port will bind always to the passed command line address
[ https://issues.apache.org/jira/browse/HBASE-12781?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14261336#comment-14261336 ] Hudson commented on HBASE-12781: FAILURE: Integrated in HBase-1.1 #35 (See [https://builds.apache.org/job/HBase-1.1/35/]) HBASE-12781 thrift2 listen port will bind always to the passed command line address (Pankaj Kumar) (tedyu: rev bf94d64667fd5c5a98c39060fdec683252011658) * hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/ThriftServer.java > thrift2 listen port will bind always to the passed command line address > --- > > Key: HBASE-12781 > URL: https://issues.apache.org/jira/browse/HBASE-12781 > Project: HBase > Issue Type: Bug > Components: Thrift >Affects Versions: 0.98.3 >Reporter: Pankaj Kumar >Assignee: Pankaj Kumar > Fix For: 2.0.0, 0.98.10, 1.1.0 > > Attachments: 12781-V1.patch > > > In Thrift server, listen port will bind always to the address which is > passed through command line argument. > {code} > InetSocketAddress inetSocketAddress = bindToPort(cmd.getOptionValue("bind"), > listenPort); > {code} > {code} > private static InetSocketAddress bindToPort(String bindValue, int listenPort) > throws UnknownHostException { > try { > if (bindValue == null) { > return new InetSocketAddress(listenPort); > } else { > return new InetSocketAddress(InetAddress.getByName(bindValue), > listenPort); > } > } catch (UnknownHostException e) { > throw new RuntimeException("Could not bind to provided ip address", e); > } > } > {code} > In case when bind address is not passed through argument then it is binding > with any local address. It should read hbase.thrift.info.bindAddress value > from configuration first. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HBASE-12781) thrift2 listen port will bind always to the passed command line address
[ https://issues.apache.org/jira/browse/HBASE-12781?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14261327#comment-14261327 ] Hudson commented on HBASE-12781: FAILURE: Integrated in HBase-TRUNK #5976 (See [https://builds.apache.org/job/HBase-TRUNK/5976/]) HBASE-12781 thrift2 listen port will bind always to the passed command line address (Pankaj Kumar) (tedyu: rev 7310fa2ba7cc8546ee5d6638539457850f60eeab) * hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/ThriftServer.java > thrift2 listen port will bind always to the passed command line address > --- > > Key: HBASE-12781 > URL: https://issues.apache.org/jira/browse/HBASE-12781 > Project: HBase > Issue Type: Bug > Components: Thrift >Affects Versions: 0.98.3 >Reporter: Pankaj Kumar >Assignee: Pankaj Kumar > Fix For: 2.0.0, 0.98.10, 1.1.0 > > Attachments: 12781-V1.patch > > > In Thrift server, listen port will bind always to the address which is > passed through command line argument. > {code} > InetSocketAddress inetSocketAddress = bindToPort(cmd.getOptionValue("bind"), > listenPort); > {code} > {code} > private static InetSocketAddress bindToPort(String bindValue, int listenPort) > throws UnknownHostException { > try { > if (bindValue == null) { > return new InetSocketAddress(listenPort); > } else { > return new InetSocketAddress(InetAddress.getByName(bindValue), > listenPort); > } > } catch (UnknownHostException e) { > throw new RuntimeException("Could not bind to provided ip address", e); > } > } > {code} > In case when bind address is not passed through argument then it is binding > with any local address. It should read hbase.thrift.info.bindAddress value > from configuration first. -- This message was sent by Atlassian JIRA (v6.3.4#6332)