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

    https://github.com/apache/spark/pull/12689#discussion_r61196655
  
    --- Diff: 
sql/hive/src/test/scala/org/apache/spark/sql/hive/execution/HiveCommandSuite.scala
 ---
    @@ -237,14 +237,6 @@ class HiveCommandSuite extends QueryTest with 
SQLTestUtils with TestHiveSingleto
           intercept[AnalysisException] {
             sql(s"""LOAD DATA LOCAL INPATH "$incorrectUri" INTO TABLE 
non_part_table""")
           }
    -
    -      // Unset default URI Scheme and Authority: throw exception
    --- End diff --
    
    Because `fs.default.name` is deprecated for YARN implementations, but will 
still work. `fs.defaultFS` is the newer setting. `fs.default.name` is just an 
alias for it.
    
    In `newHadoopConf`, the foreach loop of `conf.getAllConfs` will add 
`fs.defaultFS` setting value. So when we query `fs.default.name`, we still get 
the value.


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