hadoop - Get name of current table being scanned over using MultiTableInputFormat -


when using new new multitableinputformat class possible obtain name of table giving key , values?

i tried searching special attribute in context & configuration came unlucky.

i found out answer issue. dug around in source various classes , found internally similar table name.

string tablename = bytes.tostring(((tablesplit) context.getinputsplit()).gettablename());


Comments

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -