Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-28269

Fix broken ruby scripts and clean up logging

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0.0-alpha-4
    • 2.6.0, 3.0.0-beta-1, 2.5.8
    • jruby
    • Reviewed

    Description

      Some of the ruby scripts are broken in 3.x as they are referencing non-existent classes, these were deprecated earlier and removed in 3.x:

      • org.apache.hadoop.hbase.client.HBaseAdmin
      • org.apache.hadoop.hbase.HTableDescriptor

      Following 4 scripts are failing:

      NameError: missing class name org.apache.hadoop.hbase.client.HBaseAdmin
        method_missing at org/jruby/javasupport/JavaPackage.java:253
                <main> at region_status.rb:50
      
      {NameError: missing class name org.apache.hadoop.hbase.HTableDescriptor
        method_missing at org/jruby/javasupport/JavaPackage.java:253
                <main> at replication/copy_tables_desc.rb:30
      
      NameError: missing class name org.apache.hadoop.hbase.client.HBaseAdmin
        method_missing at org/jruby/javasupport/JavaPackage.java:253
                <main> at draining_servers.rb:28
      
      NameError: missing class name org.apache.hadoop.hbase.client.HBaseAdmin
        method_missing at org/jruby/javasupport/JavaPackage.java:253
                <main> at shutdown_regionserver.rb:27
      

      Attachments

        Issue Links

          Activity

            People

              nihaljain.cs Nihal Jain
              nihaljain.cs Nihal Jain
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: