You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@carbondata.apache.org by GitBox <gi...@apache.org> on 2019/01/21 13:30:33 UTC

[GitHub] ajantha-bhat opened a new pull request #3089: [HOTFIX] presto carbon with hive connector doesn't work with Hadoop conf in cluster.

ajantha-bhat opened a new pull request #3089: [HOTFIX] presto carbon with hive connector doesn't work with Hadoop conf in cluster. 
URL: https://github.com/apache/carbondata/pull/3089
 
 
   **problem :** presto carbon with hive connector doesn't work with Hadoop conf in cluster. 
   
   **cause:**
   When presto queries are run in cluster, it fails with below message.
   **IllegalArgumentException java.net.UnknownHostException: hacluster**
   After integrating carbondata with hive connector, configuration from hdfsEnvironment is not set in thread local. Because of this, when FileFactory.getCarbonFile(path) is called, above exception was thrown.
   
   **solution**: set the configuration in thread local. so that file factory can get that conf.
   
   Be sure to do all of the following checklist to help us incorporate 
   your contribution quickly and easily:
   
    - [ ] Any interfaces changed? NA
    
    - [ ] Any backward compatibility impacted? NA
    
    - [ ] Document update required? NA
   
    - [ ] Testing done. done
          
    - [ ] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA. NA
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services