You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by GitBox <gi...@apache.org> on 2023/01/07 13:57:31 UTC

[GitHub] [doris] xutaoustc opened a new issue, #15703: [Bug] select into outerfile write to incorrect path when using inner hdfs client

xutaoustc opened a new issue, #15703:
URL: https://github.com/apache/doris/issues/15703

   ### Search before asking
   
   - [X] I had searched in the [issues](https://github.com/apache/doris/issues?q=is%3Aissue) and found no similar issues.
   
   
   ### Version
   
   1.1.5
   
   ### What's Wrong?
   
   SELECT * FROM test.example_tbl
   INTO OUTFILE "hdfs://ctyunns6/tmp/doris/export/"
   FORMAT AS CSV
   PROPERTIES
   (
   'fs.defaultFS'='hdfs://ctyunns6/',
   'dfs.nameservices'='ctyunns6',
   'dfs.ha.namenodes.ctyunns6'='nn11,nn12',
   'dfs.namenode.rpc-address.ctyunns6.nn11'='xxx:54310',
   'dfs.namenode.rpc-address.ctyunns6.nn12'='xxxx:54310',
   'dfs.client.failover.proxy.provider.ctyunns6'='org.apache.hadoop.hdfs.server.namenode.ha.ConfiguredFailoverProxyProvider',
   'dfs.namenode.kerberos.principal'='hdfs/_HOST@xxx',
   'hadoop.security.authentication'='kerberos',
   'hadoop.kerberos.principal'='hdfs@xxxxx',
   'hadoop.kerberos.keytab'='/etc/security/keytabs/hdfs.keytab'
   );
   
   when using the sentence, I expect output to hdfs://ctyunns6/tmp/doris/export/ , but actually it writes the data to /ctyunns6/tmp/doris/export/
   
   <img width="741" alt="image" src="https://user-images.githubusercontent.com/22539180/211154334-1194f1cb-ea6c-40f8-a05e-2486e661452b.png">
   
   
   ### What You Expected?
   
   write the data to hdfs://ctyunns6/tmp/doris/export/
   
   ### How to Reproduce?
   
   _No response_
   
   ### Anything Else?
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org