Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

NameError: uninitialized constant error in Hbase

avatar

I am creating a table and inserting data into it , but when i do list table_name , it shows me NameError: uninitialized constant error in table_name

1 REPLY 1

avatar
Super Guru

@Anurag Mishra,

Please put the table name in quotes ('')

# hbase shell
hbase(main):014:0> list    # This will list all tables
hbase(main):014:0> list 'table_name' # List only a single table name
hbase(main):014:0> scan 'table_name' # Get contents of the file.

Thanks,

Aditya