[ 
https://issues.apache.org/jira/browse/HBASE-18956?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sean Busbey updated HBASE-18956:
--------------------------------
    Summary: ruby-lint need to be configured to understand that we're using 
jruby  (was: ruby-lint report "undefined method java_import")

> ruby-lint need to be configured to understand that we're using jruby
> --------------------------------------------------------------------
>
>                 Key: HBASE-18956
>                 URL: https://issues.apache.org/jira/browse/HBASE-18956
>             Project: HBase
>          Issue Type: Sub-task
>            Reporter: Guanghao Zhang
>            Priority: Major
>
> In HBASE-18909, I add a new java_import for admin.rb. But the ruby-lint 
> report "undefined method java_import".
> {code}
> /testptch/hbase/hbase-shell/src/main/ruby/hbase/admin.rb:E:22:13: undefined 
> method java
> /testptch/hbase/hbase-shell/src/main/ruby/hbase/admin.rb:E:23:1: undefined 
> method java_import
> /testptch/hbase/hbase-shell/src/main/ruby/hbase/admin.rb:E:49:29: undefined 
> constant Pattern
> /testptch/hbase/hbase-shell/src/main/ruby/hbase/admin.rb:E:273:27: undefined 
> constant Pattern
> /testptch/hbase/hbase-shell/src/main/ruby/hbase/admin.rb:E:287:17: undefined 
> constant Pattern
> /testptch/hbase/hbase-shell/src/main/ruby/hbase/admin.rb:E:317:17: undefined 
> constant Pattern
> /testptch/hbase/hbase-shell/src/main/ruby/hbase/admin.rb:E:1009:30: undefined 
> constant Pattern
> /testptch/hbase/hbase-shell/src/main/ruby/hbase/admin.rb:E:1015:35: undefined 
> constant Pattern
> /testptch/hbase/hbase-shell/src/main/ruby/hbase/admin.rb:E:1016:9: undefined 
> constant Pattern
> /testptch/hbase/hbase-shell/src/main/ruby/hbase/admin.rb:E:1022:28: undefined 
> constant Pattern
> /testptch/hbase/hbase-shell/src/main/ruby/hbase/admin.rb:E:1028:33: undefined 
> constant Pattern
> /testptch/hbase/hbase-shell/src/main/ruby/hbase/admin.rb:E:1029:9: undefined 
> constant Pattern
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to