[jira] [Commented] (HBASE-5245) HBase shell should use alternate jruby if JRUBY_HOME is set, should pass along JRUBY_OPTS

2012-01-23 Thread Hudson (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-5245?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13191878#comment-13191878
 ] 

Hudson commented on HBASE-5245:
---

Integrated in HBase-TRUNK #2645 (See 
[https://builds.apache.org/job/HBase-TRUNK/2645/])
HBASE-5245 HBase shell should use alternate jruby if JRUBY_HOME is set, 
should pass along JRUBY_OPTS

stack : 
Files : 
* /hbase/trunk/bin/hbase


 HBase shell should use alternate jruby if JRUBY_HOME is set, should pass 
 along JRUBY_OPTS
 -

 Key: HBASE-5245
 URL: https://issues.apache.org/jira/browse/HBASE-5245
 Project: HBase
  Issue Type: Improvement
  Components: shell
Affects Versions: 0.90.4
Reporter: Philip (flip) Kromer
Priority: Minor
 Attachments: 5245-v2.txt, hbase-jruby_home-and-jruby_opts.patch

   Original Estimate: 0h
  Remaining Estimate: 0h

 Invoking {{hbase shell}}, the hbase runner launches the jruby jar directly, 
 and so behaves differently than the traditional jruby runner. Specifically, it
 * does not respect the {{JRUBY_OPTS}} environment variable (among other 
 things, I cannot launch the shell to use ruby-1.9 mode)
 * does not respect the {{JRUBY_HOME}} environment variable (placing things in 
 an inconsistent state if my classpath holds the system jruby).
 This patch allows you to use an alternative jruby and to specify options to 
 the jruby jar.
 * When the command is 'shell', adds {{$JRUBY_OPTS}} to the CLASS
 * When the command is 'shell' and {{$JRUBY_HOME}} is set, adds 
 {{$JRUBY_HOME/lib/jruby.jar}} to the classpath, and sets {{-Djruby.home}} 
 and {{-Djruby.job}} config variables.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (HBASE-5245) HBase shell should use alternate jruby if JRUBY_HOME is set, should pass along JRUBY_OPTS

2012-01-22 Thread stack (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-5245?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13190795#comment-13190795
 ] 

stack commented on HBASE-5245:
--

I tried apply to TRUNK and it fails.  Mind fixing Philip?  And I'm interested 
as to why you need this?  Thanks.

 HBase shell should use alternate jruby if JRUBY_HOME is set, should pass 
 along JRUBY_OPTS
 -

 Key: HBASE-5245
 URL: https://issues.apache.org/jira/browse/HBASE-5245
 Project: HBase
  Issue Type: Improvement
  Components: shell
Affects Versions: 0.90.4
Reporter: Philip (flip) Kromer
Priority: Minor
 Attachments: hbase-jruby_home-and-jruby_opts.patch

   Original Estimate: 0h
  Remaining Estimate: 0h

 Invoking {{hbase shell}}, the hbase runner launches the jruby jar directly, 
 and so behaves differently than the traditional jruby runner. Specifically, it
 * does not respect the {{JRUBY_OPTS}} environment variable (among other 
 things, I cannot launch the shell to use ruby-1.9 mode)
 * does not respect the {{JRUBY_HOME}} environment variable (placing things in 
 an inconsistent state if my classpath holds the system jruby).
 This patch allows you to use an alternative jruby and to specify options to 
 the jruby jar.
 * When the command is 'shell', adds {{$JRUBY_OPTS}} to the CLASS
 * When the command is 'shell' and {{$JRUBY_HOME}} is set, adds 
 {{$JRUBY_HOME/lib/jruby.jar}} to the classpath, and sets {{-Djruby.home}} 
 and {{-Djruby.job}} config variables.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (HBASE-5245) HBase shell should use alternate jruby if JRUBY_HOME is set, should pass along JRUBY_OPTS

2012-01-22 Thread stack (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-5245?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13190797#comment-13190797
 ] 

stack commented on HBASE-5245:
--

Oh, nvm.  I see you say why you need this above.

 HBase shell should use alternate jruby if JRUBY_HOME is set, should pass 
 along JRUBY_OPTS
 -

 Key: HBASE-5245
 URL: https://issues.apache.org/jira/browse/HBASE-5245
 Project: HBase
  Issue Type: Improvement
  Components: shell
Affects Versions: 0.90.4
Reporter: Philip (flip) Kromer
Priority: Minor
 Attachments: hbase-jruby_home-and-jruby_opts.patch

   Original Estimate: 0h
  Remaining Estimate: 0h

 Invoking {{hbase shell}}, the hbase runner launches the jruby jar directly, 
 and so behaves differently than the traditional jruby runner. Specifically, it
 * does not respect the {{JRUBY_OPTS}} environment variable (among other 
 things, I cannot launch the shell to use ruby-1.9 mode)
 * does not respect the {{JRUBY_HOME}} environment variable (placing things in 
 an inconsistent state if my classpath holds the system jruby).
 This patch allows you to use an alternative jruby and to specify options to 
 the jruby jar.
 * When the command is 'shell', adds {{$JRUBY_OPTS}} to the CLASS
 * When the command is 'shell' and {{$JRUBY_HOME}} is set, adds 
 {{$JRUBY_HOME/lib/jruby.jar}} to the classpath, and sets {{-Djruby.home}} 
 and {{-Djruby.job}} config variables.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (HBASE-5245) HBase shell should use alternate jruby if JRUBY_HOME is set, should pass along JRUBY_OPTS

2012-01-22 Thread Hadoop QA (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-5245?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13190800#comment-13190800
 ] 

Hadoop QA commented on HBASE-5245:
--

-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12511450/5245-v2.txt
  against trunk revision .

+1 @author.  The patch does not contain any @author tags.

-1 tests included.  The patch doesn't appear to include any new or modified 
tests.
Please justify why no new tests are needed for this 
patch.
Also please list what manual steps were performed to 
verify this patch.

-1 patch.  The patch command could not apply the patch.

Console output: https://builds.apache.org/job/PreCommit-HBASE-Build/834//console

This message is automatically generated.

 HBase shell should use alternate jruby if JRUBY_HOME is set, should pass 
 along JRUBY_OPTS
 -

 Key: HBASE-5245
 URL: https://issues.apache.org/jira/browse/HBASE-5245
 Project: HBase
  Issue Type: Improvement
  Components: shell
Affects Versions: 0.90.4
Reporter: Philip (flip) Kromer
Priority: Minor
 Attachments: 5245-v2.txt, hbase-jruby_home-and-jruby_opts.patch

   Original Estimate: 0h
  Remaining Estimate: 0h

 Invoking {{hbase shell}}, the hbase runner launches the jruby jar directly, 
 and so behaves differently than the traditional jruby runner. Specifically, it
 * does not respect the {{JRUBY_OPTS}} environment variable (among other 
 things, I cannot launch the shell to use ruby-1.9 mode)
 * does not respect the {{JRUBY_HOME}} environment variable (placing things in 
 an inconsistent state if my classpath holds the system jruby).
 This patch allows you to use an alternative jruby and to specify options to 
 the jruby jar.
 * When the command is 'shell', adds {{$JRUBY_OPTS}} to the CLASS
 * When the command is 'shell' and {{$JRUBY_HOME}} is set, adds 
 {{$JRUBY_HOME/lib/jruby.jar}} to the classpath, and sets {{-Djruby.home}} 
 and {{-Djruby.job}} config variables.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (HBASE-5245) HBase shell should use alternate jruby if JRUBY_HOME is set, should pass along JRUBY_OPTS

2012-01-22 Thread Hudson (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-5245?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13190884#comment-13190884
 ] 

Hudson commented on HBASE-5245:
---

Integrated in HBase-TRUNK-security #85 (See 
[https://builds.apache.org/job/HBase-TRUNK-security/85/])
HBASE-5245 HBase shell should use alternate jruby if JRUBY_HOME is set, 
should pass along JRUBY_OPTS

stack : 
Files : 
* /hbase/trunk/bin/hbase


 HBase shell should use alternate jruby if JRUBY_HOME is set, should pass 
 along JRUBY_OPTS
 -

 Key: HBASE-5245
 URL: https://issues.apache.org/jira/browse/HBASE-5245
 Project: HBase
  Issue Type: Improvement
  Components: shell
Affects Versions: 0.90.4
Reporter: Philip (flip) Kromer
Priority: Minor
 Attachments: 5245-v2.txt, hbase-jruby_home-and-jruby_opts.patch

   Original Estimate: 0h
  Remaining Estimate: 0h

 Invoking {{hbase shell}}, the hbase runner launches the jruby jar directly, 
 and so behaves differently than the traditional jruby runner. Specifically, it
 * does not respect the {{JRUBY_OPTS}} environment variable (among other 
 things, I cannot launch the shell to use ruby-1.9 mode)
 * does not respect the {{JRUBY_HOME}} environment variable (placing things in 
 an inconsistent state if my classpath holds the system jruby).
 This patch allows you to use an alternative jruby and to specify options to 
 the jruby jar.
 * When the command is 'shell', adds {{$JRUBY_OPTS}} to the CLASS
 * When the command is 'shell' and {{$JRUBY_HOME}} is set, adds 
 {{$JRUBY_HOME/lib/jruby.jar}} to the classpath, and sets {{-Djruby.home}} 
 and {{-Djruby.job}} config variables.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira