hbase
[hbase] list/describe command 주의
'김용환'
2016. 12. 15. 18:22
hbase 0.94를 사용하고 있다.
(아주 당연하지만..)
hbase 커맨드 쉘에서는 quote(')의 사용이 반드시 필요한데, 이상하게도 나는 describe 또는 list를 사용할 때면 quote를 사용하지 않으려 하는 습관이 있다. mysql 영향을 받아서 그런 것 같다.
subscribe/list 커맨드를 사용할 때, quote(')를 사용하지 않으면 찾지 못한다. 항상 quote를 사용해야 한다!!!
hbase(main):002:0> list notifications
NameError: undefined local variable or method `notifications' for #<Object:0x3e4eede1>
hbase(main):003:0> list 'notifications'
TABLE
notifications
feed_notifications
2 row(s) in 0.0240 seconds
hbase(main):004:0> list 'not*'
TABLE
notifications
feed_notifications
2 row(s) in 0.0240 seconds