Re: org.apache.hadoop.hbase.ipc.SecureRpcEngine class not found in HBase jar
Indeed we need some pom mockery to be able to do that. It would be good though. Some history: https://issues.apache.org/jira/browse/HBASE-5341 and related https://issues.apache.org/jira/browse/HBASE-6929 Enis On Tue, Mar 4, 2014 at 5:03 PM, James Taylor giacomotay...@gmail.comwrote: That'd be good if the HBase team could put the secure build in maven too. Thanks, James On Tue, Mar 4, 2014 at 4:33 PM, lars hofhansl la...@apache.org wrote: Might be better to push the secure build to maven. No disadvantage in doing so. Not sure if there's any maven blackmagic missing/needed. -- Lars -- *From:* anil gupta anilgupt...@gmail.com *To:* user@hbase.apache.org user@hbase.apache.org *Cc:* James Taylor giacomotay...@gmail.com *Sent:* Tuesday, March 4, 2014 10:48 AM *Subject:* Re: org.apache.hadoop.hbase.ipc.SecureRpcEngine class not found in HBase jar Thanks for the reply. Since the HBase security jar is not published in Maven repo. I am running into Problem with enhancing the jdbc connection of Phoenix( https://issues.apache.org/jira/browse/PHOENIX-19) to support connecting to a secure HBase cluster. Is there any particular reason due to which we don't publish security jar of HBase? I have been using cdh4.5 and that has hbase security. For phoenix, i don't think i can reference Cloudera stuff. If we cannot publish the security jar in Maven repo then Phoenix might have to build hbase with the flag that Gary mentioned. Thanks, Anil Gupta On Tue, Mar 4, 2014 at 10:40 AM, Gary Helmling ghelml...@gmail.com wrote: For HBase 0.94, you need a version of HBase built with the security profile to get SecureRpcEngine and other security classes. I'm not sure that the published releases on maven central actually include this. However, it's easily to build yourself, just add -Psecurity to the mvn command line to get the security profile. For HBase 0.96+ this is no longer necessary, as the security classes are now part of the main build. On Tue, Mar 4, 2014 at 10:02 AM, anil gupta anilgupt...@gmail.com wrote: Hi All, If i create a maven project with the following maven dependency then the HBase jar doesn't have org.apache.hadoop.hbase.ipc.SecureRpcEngine class. dependency groupIdorg.apache.hbase/groupId artifactIdhbase/artifactId version0.94.12/version /dependency SecureRPCEngine class is used when the cluster is secured. Is there any other maven dependency i need to use to get that class? -- Thanks Regards, Anil Gupta -- Thanks Regards, Anil Gupta
org.apache.hadoop.hbase.ipc.SecureRpcEngine class not found in HBase jar
Hi All, If i create a maven project with the following maven dependency then the HBase jar doesn't have org.apache.hadoop.hbase.ipc.SecureRpcEngine class. dependency groupIdorg.apache.hbase/groupId artifactIdhbase/artifactId version0.94.12/version /dependency SecureRPCEngine class is used when the cluster is secured. Is there any other maven dependency i need to use to get that class? -- Thanks Regards, Anil Gupta
Re: org.apache.hadoop.hbase.ipc.SecureRpcEngine class not found in HBase jar
Secure HBase 0.94 is not published in maven repo. On Tue, Mar 4, 2014 at 10:02 AM, anil gupta anilgupt...@gmail.com wrote: Hi All, If i create a maven project with the following maven dependency then the HBase jar doesn't have org.apache.hadoop.hbase.ipc.SecureRpcEngine class. dependency groupIdorg.apache.hbase/groupId artifactIdhbase/artifactId version0.94.12/version /dependency SecureRPCEngine class is used when the cluster is secured. Is there any other maven dependency i need to use to get that class? -- Thanks Regards, Anil Gupta
Re: org.apache.hadoop.hbase.ipc.SecureRpcEngine class not found in HBase jar
For HBase 0.94, you need a version of HBase built with the security profile to get SecureRpcEngine and other security classes. I'm not sure that the published releases on maven central actually include this. However, it's easily to build yourself, just add -Psecurity to the mvn command line to get the security profile. For HBase 0.96+ this is no longer necessary, as the security classes are now part of the main build. On Tue, Mar 4, 2014 at 10:02 AM, anil gupta anilgupt...@gmail.com wrote: Hi All, If i create a maven project with the following maven dependency then the HBase jar doesn't have org.apache.hadoop.hbase.ipc.SecureRpcEngine class. dependency groupIdorg.apache.hbase/groupId artifactIdhbase/artifactId version0.94.12/version /dependency SecureRPCEngine class is used when the cluster is secured. Is there any other maven dependency i need to use to get that class? -- Thanks Regards, Anil Gupta
Re: org.apache.hadoop.hbase.ipc.SecureRpcEngine class not found in HBase jar
Thanks for the reply. Since the HBase security jar is not published in Maven repo. I am running into Problem with enhancing the jdbc connection of Phoenix( https://issues.apache.org/jira/browse/PHOENIX-19) to support connecting to a secure HBase cluster. Is there any particular reason due to which we don't publish security jar of HBase? I have been using cdh4.5 and that has hbase security. For phoenix, i don't think i can reference Cloudera stuff. If we cannot publish the security jar in Maven repo then Phoenix might have to build hbase with the flag that Gary mentioned. Thanks, Anil Gupta On Tue, Mar 4, 2014 at 10:40 AM, Gary Helmling ghelml...@gmail.com wrote: For HBase 0.94, you need a version of HBase built with the security profile to get SecureRpcEngine and other security classes. I'm not sure that the published releases on maven central actually include this. However, it's easily to build yourself, just add -Psecurity to the mvn command line to get the security profile. For HBase 0.96+ this is no longer necessary, as the security classes are now part of the main build. On Tue, Mar 4, 2014 at 10:02 AM, anil gupta anilgupt...@gmail.com wrote: Hi All, If i create a maven project with the following maven dependency then the HBase jar doesn't have org.apache.hadoop.hbase.ipc.SecureRpcEngine class. dependency groupIdorg.apache.hbase/groupId artifactIdhbase/artifactId version0.94.12/version /dependency SecureRPCEngine class is used when the cluster is secured. Is there any other maven dependency i need to use to get that class? -- Thanks Regards, Anil Gupta -- Thanks Regards, Anil Gupta
Re: org.apache.hadoop.hbase.ipc.SecureRpcEngine class not found in HBase jar
Let's just target your patch for the Phoenix 4.0 release so we can rely on Maven having what we need. Thanks, James On Tue, Mar 4, 2014 at 11:29 AM, anil gupta anilgupt...@gmail.com wrote: Phoenix refers to maven artifact of HBase. If its not in Maven repo of HBase then either we add the security jar in Maven repo or we will have to find another solution to resolve this. On Tue, Mar 4, 2014 at 11:10 AM, Ted Yu yuzhih...@gmail.com wrote: Security tar ball is published with each 0.94 release: http://supergsego.com/apache/hbase/hbase-0.94.17/ Are you able to utilize that ? On Tue, Mar 4, 2014 at 10:48 AM, anil gupta anilgupt...@gmail.com wrote: Thanks for the reply. Since the HBase security jar is not published in Maven repo. I am running into Problem with enhancing the jdbc connection of Phoenix( https://issues.apache.org/jira/browse/PHOENIX-19) to support connecting to a secure HBase cluster. Is there any particular reason due to which we don't publish security jar of HBase? I have been using cdh4.5 and that has hbase security. For phoenix, i don't think i can reference Cloudera stuff. If we cannot publish the security jar in Maven repo then Phoenix might have to build hbase with the flag that Gary mentioned. Thanks, Anil Gupta On Tue, Mar 4, 2014 at 10:40 AM, Gary Helmling ghelml...@gmail.com wrote: For HBase 0.94, you need a version of HBase built with the security profile to get SecureRpcEngine and other security classes. I'm not sure that the published releases on maven central actually include this. However, it's easily to build yourself, just add -Psecurity to the mvn command line to get the security profile. For HBase 0.96+ this is no longer necessary, as the security classes are now part of the main build. On Tue, Mar 4, 2014 at 10:02 AM, anil gupta anilgupt...@gmail.com wrote: Hi All, If i create a maven project with the following maven dependency then the HBase jar doesn't have org.apache.hadoop.hbase.ipc.SecureRpcEngine class. dependency groupIdorg.apache.hbase/groupId artifactIdhbase/artifactId version0.94.12/version /dependency SecureRPCEngine class is used when the cluster is secured. Is there any other maven dependency i need to use to get that class? -- Thanks Regards, Anil Gupta -- Thanks Regards, Anil Gupta -- Thanks Regards, Anil Gupta
Re: org.apache.hadoop.hbase.ipc.SecureRpcEngine class not found in HBase jar
Might be better to push the secure build to maven. No disadvantage in doing so. Not sure if there's any maven blackmagic missing/needed. -- Lars From: anil gupta anilgupt...@gmail.com To: user@hbase.apache.org user@hbase.apache.org Cc: James Taylor giacomotay...@gmail.com Sent: Tuesday, March 4, 2014 10:48 AM Subject: Re: org.apache.hadoop.hbase.ipc.SecureRpcEngine class not found in HBase jar Thanks for the reply. Since the HBase security jar is not published in Maven repo. I am running into Problem with enhancing the jdbc connection of Phoenix( https://issues.apache.org/jira/browse/PHOENIX-19) to support connecting to a secure HBase cluster. Is there any particular reason due to which we don't publish security jar of HBase? I have been using cdh4.5 and that has hbase security. For phoenix, i don't think i can reference Cloudera stuff. If we cannot publish the security jar in Maven repo then Phoenix might have to build hbase with the flag that Gary mentioned. Thanks, Anil Gupta On Tue, Mar 4, 2014 at 10:40 AM, Gary Helmling ghelml...@gmail.com wrote: For HBase 0.94, you need a version of HBase built with the security profile to get SecureRpcEngine and other security classes. I'm not sure that the published releases on maven central actually include this. However, it's easily to build yourself, just add -Psecurity to the mvn command line to get the security profile. For HBase 0.96+ this is no longer necessary, as the security classes are now part of the main build. On Tue, Mar 4, 2014 at 10:02 AM, anil gupta anilgupt...@gmail.com wrote: Hi All, If i create a maven project with the following maven dependency then the HBase jar doesn't have org.apache.hadoop.hbase.ipc.SecureRpcEngine class. dependency groupIdorg.apache.hbase/groupId artifactIdhbase/artifactId version0.94.12/version /dependency SecureRPCEngine class is used when the cluster is secured. Is there any other maven dependency i need to use to get that class? -- Thanks Regards, Anil Gupta -- Thanks Regards, Anil Gupta
Re: org.apache.hadoop.hbase.ipc.SecureRpcEngine class not found in HBase jar
+1 for pushing the secure build to maven. We run on HBase0.94 and for at least 1 year we are not going to upgrade our system to HBase0.96. On Tue, Mar 4, 2014 at 4:33 PM, lars hofhansl la...@apache.org wrote: Might be better to push the secure build to maven. No disadvantage in doing so. Not sure if there's any maven blackmagic missing/needed. -- Lars From: anil gupta anilgupt...@gmail.com To: user@hbase.apache.org user@hbase.apache.org Cc: James Taylor giacomotay...@gmail.com Sent: Tuesday, March 4, 2014 10:48 AM Subject: Re: org.apache.hadoop.hbase.ipc.SecureRpcEngine class not found in HBase jar Thanks for the reply. Since the HBase security jar is not published in Maven repo. I am running into Problem with enhancing the jdbc connection of Phoenix( https://issues.apache.org/jira/browse/PHOENIX-19) to support connecting to a secure HBase cluster. Is there any particular reason due to which we don't publish security jar of HBase? I have been using cdh4.5 and that has hbase security. For phoenix, i don't think i can reference Cloudera stuff. If we cannot publish the security jar in Maven repo then Phoenix might have to build hbase with the flag that Gary mentioned. Thanks, Anil Gupta On Tue, Mar 4, 2014 at 10:40 AM, Gary Helmling ghelml...@gmail.com wrote: For HBase 0.94, you need a version of HBase built with the security profile to get SecureRpcEngine and other security classes. I'm not sure that the published releases on maven central actually include this. However, it's easily to build yourself, just add -Psecurity to the mvn command line to get the security profile. For HBase 0.96+ this is no longer necessary, as the security classes are now part of the main build. On Tue, Mar 4, 2014 at 10:02 AM, anil gupta anilgupt...@gmail.com wrote: Hi All, If i create a maven project with the following maven dependency then the HBase jar doesn't have org.apache.hadoop.hbase.ipc.SecureRpcEngine class. dependency groupIdorg.apache.hbase/groupId artifactIdhbase/artifactId version0.94.12/version /dependency SecureRPCEngine class is used when the cluster is secured. Is there any other maven dependency i need to use to get that class? -- Thanks Regards, Anil Gupta -- Thanks Regards, Anil Gupta -- Thanks Regards, Anil Gupta
Re: org.apache.hadoop.hbase.ipc.SecureRpcEngine class not found in HBase jar
On Wed, Mar 5, 2014 at 8:33 AM, lars hofhansl la...@apache.org wrote: Might be better to push the secure build to maven. No disadvantage in doing so. Not sure if there's any maven blackmagic missing/needed. Yes, the necessary Maven black magic for differentiating security artifacts is missing. I think we need the same POM munging during build+release that we have for 0.96 for -hadoop1 and -hadoop2. -- Best regards, - Andy Problems worthy of attack prove their worth by hitting back. - Piet Hein (via Tom White)