Github user potix2 commented on a diff in the pull request:

    https://github.com/apache/spark/pull/4725#discussion_r25161690
  
    --- 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 --
    
    Sorry, I didn't know when that constructor was added. I understand my 
proposal makes the compatibility of the earliest version broken.
    The other deprication is nothing in the HBase examples, I close this PR.


---
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]

Reply via email to