[jira] [Commented] (HBASE-11662) Launching shell with long-form --debug fails
[ https://issues.apache.org/jira/browse/HBASE-11662?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14086024#comment-14086024 ] Hudson commented on HBASE-11662: FAILURE: Integrated in HBase-1.0 #85 (See [https://builds.apache.org/job/HBase-1.0/85/]) HBASE-11662 shell should properly handle long form --debug. (apurtell: rev 6a7f923c0d4ca2942b7bdcd32ca0ef8c3293902b) * bin/hirb.rb Launching shell with long-form --debug fails Key: HBASE-11662 URL: https://issues.apache.org/jira/browse/HBASE-11662 Project: HBase Issue Type: Bug Components: shell Reporter: Sean Busbey Assignee: Sean Busbey Fix For: 0.99.0, 0.98.5, 2.0.0 Attachments: HBASE_11662-v1.patch Even though the help says both '-d' and '--debug' are allowed, the shell fails if you use the long form. {noformat} busbey2-MBA:hbase busbey$ bin/hbase shell --help Usage: shell [OPTIONS] [SCRIPTFILE [ARGUMENTS]] --format=OPTIONFormatter for outputting results. Valid options are: console, html. (Default: console) -d | --debug Set DEBUG log levels. -h | --helpThis help. busbey2-MBA:hbase busbey$ bin/hbase shell --debug Setting DEBUG log level... HBase Shell; enter 'helpRETURN' for list of supported commands. Type exitRETURN to leave the HBase Shell Version 2.0.0-SNAPSHOT, r4d005b70a0fda4be5a8ead84ff5f54fceb3c637a, Mon Aug 4 14:17:22 CDT 2014 IRB::UnrecognizedSwitch: Unrecognized switch: --debug Raise at file:/Users/busbey/.m2/repository/org/jruby/jruby-complete/1.6.8/jruby-complete-1.6.8.jar!/META-INF/jruby.home/lib/ruby/1.8/e2mmap.rb:167 fail at file:/Users/busbey/.m2/repository/org/jruby/jruby-complete/1.6.8/jruby-complete-1.6.8.jar!/META-INF/jruby.home/lib/ruby/1.8/e2mmap.rb:95 parse_opts at file:/Users/busbey/.m2/repository/org/jruby/jruby-complete/1.6.8/jruby-complete-1.6.8.jar!/META-INF/jruby.home/lib/ruby/1.8/irb/init.rb:194 setup at file:/Users/busbey/.m2/repository/org/jruby/jruby-complete/1.6.8/jruby-complete-1.6.8.jar!/META-INF/jruby.home/lib/ruby/1.8/irb/init.rb:19 start at /Users/busbey/projects/hbase/bin/../bin/hirb.rb:170 (root) at /Users/busbey/projects/hbase/bin/../bin/hirb.rb:190 busbey2-MBA:hbase busbey$ bin/hbase shell -d Setting DEBUG log level... HBase Shell; enter 'helpRETURN' for list of supported commands. Type exitRETURN to leave the HBase Shell Version 2.0.0-SNAPSHOT, r4d005b70a0fda4be5a8ead84ff5f54fceb3c637a, Mon Aug 4 14:17:22 CDT 2014 jruby-1.7.3 :001 quit busbey2-MBA:hbase busbey$ {noformat} The problem is that we're sending the debug flag through to the IRB initialization as is, and it only recognizes the '-d' form. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Commented] (HBASE-11662) Launching shell with long-form --debug fails
[ https://issues.apache.org/jira/browse/HBASE-11662?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14086135#comment-14086135 ] Hudson commented on HBASE-11662: FAILURE: Integrated in HBase-0.98-on-Hadoop-1.1 #411 (See [https://builds.apache.org/job/HBase-0.98-on-Hadoop-1.1/411/]) HBASE-11662 shell should properly handle long form --debug. (apurtell: rev 74c7169252e67ff2f578a0d61b8cb11276ddfcbe) * bin/hirb.rb Launching shell with long-form --debug fails Key: HBASE-11662 URL: https://issues.apache.org/jira/browse/HBASE-11662 Project: HBase Issue Type: Bug Components: shell Reporter: Sean Busbey Assignee: Sean Busbey Fix For: 0.99.0, 0.98.5, 2.0.0 Attachments: HBASE_11662-v1.patch Even though the help says both '-d' and '--debug' are allowed, the shell fails if you use the long form. {noformat} busbey2-MBA:hbase busbey$ bin/hbase shell --help Usage: shell [OPTIONS] [SCRIPTFILE [ARGUMENTS]] --format=OPTIONFormatter for outputting results. Valid options are: console, html. (Default: console) -d | --debug Set DEBUG log levels. -h | --helpThis help. busbey2-MBA:hbase busbey$ bin/hbase shell --debug Setting DEBUG log level... HBase Shell; enter 'helpRETURN' for list of supported commands. Type exitRETURN to leave the HBase Shell Version 2.0.0-SNAPSHOT, r4d005b70a0fda4be5a8ead84ff5f54fceb3c637a, Mon Aug 4 14:17:22 CDT 2014 IRB::UnrecognizedSwitch: Unrecognized switch: --debug Raise at file:/Users/busbey/.m2/repository/org/jruby/jruby-complete/1.6.8/jruby-complete-1.6.8.jar!/META-INF/jruby.home/lib/ruby/1.8/e2mmap.rb:167 fail at file:/Users/busbey/.m2/repository/org/jruby/jruby-complete/1.6.8/jruby-complete-1.6.8.jar!/META-INF/jruby.home/lib/ruby/1.8/e2mmap.rb:95 parse_opts at file:/Users/busbey/.m2/repository/org/jruby/jruby-complete/1.6.8/jruby-complete-1.6.8.jar!/META-INF/jruby.home/lib/ruby/1.8/irb/init.rb:194 setup at file:/Users/busbey/.m2/repository/org/jruby/jruby-complete/1.6.8/jruby-complete-1.6.8.jar!/META-INF/jruby.home/lib/ruby/1.8/irb/init.rb:19 start at /Users/busbey/projects/hbase/bin/../bin/hirb.rb:170 (root) at /Users/busbey/projects/hbase/bin/../bin/hirb.rb:190 busbey2-MBA:hbase busbey$ bin/hbase shell -d Setting DEBUG log level... HBase Shell; enter 'helpRETURN' for list of supported commands. Type exitRETURN to leave the HBase Shell Version 2.0.0-SNAPSHOT, r4d005b70a0fda4be5a8ead84ff5f54fceb3c637a, Mon Aug 4 14:17:22 CDT 2014 jruby-1.7.3 :001 quit busbey2-MBA:hbase busbey$ {noformat} The problem is that we're sending the debug flag through to the IRB initialization as is, and it only recognizes the '-d' form. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Commented] (HBASE-11662) Launching shell with long-form --debug fails
[ https://issues.apache.org/jira/browse/HBASE-11662?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14085606#comment-14085606 ] Andrew Purtell commented on HBASE-11662: +1 Launching shell with long-form --debug fails Key: HBASE-11662 URL: https://issues.apache.org/jira/browse/HBASE-11662 Project: HBase Issue Type: Bug Components: shell Reporter: Sean Busbey Assignee: Sean Busbey Fix For: 2.0.0 Attachments: HBASE_11662-v1.patch Even though the help says both '-d' and '--debug' are allowed, the shell fails if you use the long form. {noformat} busbey2-MBA:hbase busbey$ bin/hbase shell --help Usage: shell [OPTIONS] [SCRIPTFILE [ARGUMENTS]] --format=OPTIONFormatter for outputting results. Valid options are: console, html. (Default: console) -d | --debug Set DEBUG log levels. -h | --helpThis help. busbey2-MBA:hbase busbey$ bin/hbase shell --debug Setting DEBUG log level... HBase Shell; enter 'helpRETURN' for list of supported commands. Type exitRETURN to leave the HBase Shell Version 2.0.0-SNAPSHOT, r4d005b70a0fda4be5a8ead84ff5f54fceb3c637a, Mon Aug 4 14:17:22 CDT 2014 IRB::UnrecognizedSwitch: Unrecognized switch: --debug Raise at file:/Users/busbey/.m2/repository/org/jruby/jruby-complete/1.6.8/jruby-complete-1.6.8.jar!/META-INF/jruby.home/lib/ruby/1.8/e2mmap.rb:167 fail at file:/Users/busbey/.m2/repository/org/jruby/jruby-complete/1.6.8/jruby-complete-1.6.8.jar!/META-INF/jruby.home/lib/ruby/1.8/e2mmap.rb:95 parse_opts at file:/Users/busbey/.m2/repository/org/jruby/jruby-complete/1.6.8/jruby-complete-1.6.8.jar!/META-INF/jruby.home/lib/ruby/1.8/irb/init.rb:194 setup at file:/Users/busbey/.m2/repository/org/jruby/jruby-complete/1.6.8/jruby-complete-1.6.8.jar!/META-INF/jruby.home/lib/ruby/1.8/irb/init.rb:19 start at /Users/busbey/projects/hbase/bin/../bin/hirb.rb:170 (root) at /Users/busbey/projects/hbase/bin/../bin/hirb.rb:190 busbey2-MBA:hbase busbey$ bin/hbase shell -d Setting DEBUG log level... HBase Shell; enter 'helpRETURN' for list of supported commands. Type exitRETURN to leave the HBase Shell Version 2.0.0-SNAPSHOT, r4d005b70a0fda4be5a8ead84ff5f54fceb3c637a, Mon Aug 4 14:17:22 CDT 2014 jruby-1.7.3 :001 quit busbey2-MBA:hbase busbey$ {noformat} The problem is that we're sending the debug flag through to the IRB initialization as is, and it only recognizes the '-d' form. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Commented] (HBASE-11662) Launching shell with long-form --debug fails
[ https://issues.apache.org/jira/browse/HBASE-11662?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14085814#comment-14085814 ] Hudson commented on HBASE-11662: FAILURE: Integrated in HBase-TRUNK #5369 (See [https://builds.apache.org/job/HBase-TRUNK/5369/]) HBASE-11662 shell should properly handle long form --debug. (apurtell: rev 41ecb18c200db3ceb966fde4393b1ec013217029) * bin/hirb.rb Launching shell with long-form --debug fails Key: HBASE-11662 URL: https://issues.apache.org/jira/browse/HBASE-11662 Project: HBase Issue Type: Bug Components: shell Reporter: Sean Busbey Assignee: Sean Busbey Fix For: 0.99.0, 0.98.5, 2.0.0 Attachments: HBASE_11662-v1.patch Even though the help says both '-d' and '--debug' are allowed, the shell fails if you use the long form. {noformat} busbey2-MBA:hbase busbey$ bin/hbase shell --help Usage: shell [OPTIONS] [SCRIPTFILE [ARGUMENTS]] --format=OPTIONFormatter for outputting results. Valid options are: console, html. (Default: console) -d | --debug Set DEBUG log levels. -h | --helpThis help. busbey2-MBA:hbase busbey$ bin/hbase shell --debug Setting DEBUG log level... HBase Shell; enter 'helpRETURN' for list of supported commands. Type exitRETURN to leave the HBase Shell Version 2.0.0-SNAPSHOT, r4d005b70a0fda4be5a8ead84ff5f54fceb3c637a, Mon Aug 4 14:17:22 CDT 2014 IRB::UnrecognizedSwitch: Unrecognized switch: --debug Raise at file:/Users/busbey/.m2/repository/org/jruby/jruby-complete/1.6.8/jruby-complete-1.6.8.jar!/META-INF/jruby.home/lib/ruby/1.8/e2mmap.rb:167 fail at file:/Users/busbey/.m2/repository/org/jruby/jruby-complete/1.6.8/jruby-complete-1.6.8.jar!/META-INF/jruby.home/lib/ruby/1.8/e2mmap.rb:95 parse_opts at file:/Users/busbey/.m2/repository/org/jruby/jruby-complete/1.6.8/jruby-complete-1.6.8.jar!/META-INF/jruby.home/lib/ruby/1.8/irb/init.rb:194 setup at file:/Users/busbey/.m2/repository/org/jruby/jruby-complete/1.6.8/jruby-complete-1.6.8.jar!/META-INF/jruby.home/lib/ruby/1.8/irb/init.rb:19 start at /Users/busbey/projects/hbase/bin/../bin/hirb.rb:170 (root) at /Users/busbey/projects/hbase/bin/../bin/hirb.rb:190 busbey2-MBA:hbase busbey$ bin/hbase shell -d Setting DEBUG log level... HBase Shell; enter 'helpRETURN' for list of supported commands. Type exitRETURN to leave the HBase Shell Version 2.0.0-SNAPSHOT, r4d005b70a0fda4be5a8ead84ff5f54fceb3c637a, Mon Aug 4 14:17:22 CDT 2014 jruby-1.7.3 :001 quit busbey2-MBA:hbase busbey$ {noformat} The problem is that we're sending the debug flag through to the IRB initialization as is, and it only recognizes the '-d' form. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Commented] (HBASE-11662) Launching shell with long-form --debug fails
[ https://issues.apache.org/jira/browse/HBASE-11662?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14085829#comment-14085829 ] Hudson commented on HBASE-11662: FAILURE: Integrated in HBase-0.98 #436 (See [https://builds.apache.org/job/HBase-0.98/436/]) HBASE-11662 shell should properly handle long form --debug. (apurtell: rev 74c7169252e67ff2f578a0d61b8cb11276ddfcbe) * bin/hirb.rb Launching shell with long-form --debug fails Key: HBASE-11662 URL: https://issues.apache.org/jira/browse/HBASE-11662 Project: HBase Issue Type: Bug Components: shell Reporter: Sean Busbey Assignee: Sean Busbey Fix For: 0.99.0, 0.98.5, 2.0.0 Attachments: HBASE_11662-v1.patch Even though the help says both '-d' and '--debug' are allowed, the shell fails if you use the long form. {noformat} busbey2-MBA:hbase busbey$ bin/hbase shell --help Usage: shell [OPTIONS] [SCRIPTFILE [ARGUMENTS]] --format=OPTIONFormatter for outputting results. Valid options are: console, html. (Default: console) -d | --debug Set DEBUG log levels. -h | --helpThis help. busbey2-MBA:hbase busbey$ bin/hbase shell --debug Setting DEBUG log level... HBase Shell; enter 'helpRETURN' for list of supported commands. Type exitRETURN to leave the HBase Shell Version 2.0.0-SNAPSHOT, r4d005b70a0fda4be5a8ead84ff5f54fceb3c637a, Mon Aug 4 14:17:22 CDT 2014 IRB::UnrecognizedSwitch: Unrecognized switch: --debug Raise at file:/Users/busbey/.m2/repository/org/jruby/jruby-complete/1.6.8/jruby-complete-1.6.8.jar!/META-INF/jruby.home/lib/ruby/1.8/e2mmap.rb:167 fail at file:/Users/busbey/.m2/repository/org/jruby/jruby-complete/1.6.8/jruby-complete-1.6.8.jar!/META-INF/jruby.home/lib/ruby/1.8/e2mmap.rb:95 parse_opts at file:/Users/busbey/.m2/repository/org/jruby/jruby-complete/1.6.8/jruby-complete-1.6.8.jar!/META-INF/jruby.home/lib/ruby/1.8/irb/init.rb:194 setup at file:/Users/busbey/.m2/repository/org/jruby/jruby-complete/1.6.8/jruby-complete-1.6.8.jar!/META-INF/jruby.home/lib/ruby/1.8/irb/init.rb:19 start at /Users/busbey/projects/hbase/bin/../bin/hirb.rb:170 (root) at /Users/busbey/projects/hbase/bin/../bin/hirb.rb:190 busbey2-MBA:hbase busbey$ bin/hbase shell -d Setting DEBUG log level... HBase Shell; enter 'helpRETURN' for list of supported commands. Type exitRETURN to leave the HBase Shell Version 2.0.0-SNAPSHOT, r4d005b70a0fda4be5a8ead84ff5f54fceb3c637a, Mon Aug 4 14:17:22 CDT 2014 jruby-1.7.3 :001 quit busbey2-MBA:hbase busbey$ {noformat} The problem is that we're sending the debug flag through to the IRB initialization as is, and it only recognizes the '-d' form. -- This message was sent by Atlassian JIRA (v6.2#6252)