Github user srowen commented on a diff in the pull request:
https://github.com/apache/spark/pull/4725#discussion_r25162029
--- Diff: examples/src/main/scala/org/apache/spark/examples/HBaseTest.scala
---
@@ -36,7 +36,7 @@ object HBaseTest {
// Initialize hBase table if necessary
val admin = new HBaseAdmin(conf)
if (!admin.isTableAvailable(args(0))) {
- val tableDesc = new HTableDescriptor(args(0))
+ val tableDesc = new HTableDescriptor(TableName.valueOf(args(0)))
--- End diff --
@potix2 no it may be just fine. I was asking you to check it. It would be
good to know when the new method was added to make sure this doesn't needlessly
break recent versions, but, I agree with this change as long as the constructor
was available in >= 0.98.7 and preferably a few previous versions.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]