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

   ### 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
   
   doris 2.0
   
   ### What's Wrong?
   
   I try to using hdfs broker to import hdfs data into doris2.0, bug 
encountered an error, following is the error message thrown
   ```log
   type:LOAD_RUN_FAIL; msg:errCode = 2, detailMessage = 
(10.xx.xx.xx)[INTERNAL_ERROR]failed to init reader for file 
hdfs://xxxx:8020/apps/hive/warehouse/dw.db/xxxx/period_name=2022-12/000035_0, 
err: [INTERNAL_ERROR]Init OrcReader failed. reason = Invalid ORC postscript 
length
   ```
   
   Following is my briefed hive table create ddl
   ```sql
   CREATE TABLE `dw.table_name`( 
      `field1` string,                              
      `field2` string
   )                  
    COMMENT 'xxxx'         
    PARTITIONED BY (                                   
      `field1` string)                            
    ROW FORMAT SERDE                                   
      'org.apache.hadoop.hive.ql.io.orc.OrcSerde'      
    WITH SERDEPROPERTIES (                             
      'field.delim'='',                               
      'serialization.format'='')                      
    STORED AS INPUTFORMAT                              
      'org.apache.hadoop.hive.ql.io.orc.OrcInputFormat'  
    OUTPUTFORMAT                                       
      'org.apache.hadoop.hive.ql.io.orc.OrcOutputFormat' 
    LOCATION                                           
      'hdfs://cmccprdhadoop/apps/hive/warehouse/dw.db/table_name' 
    TBLPROPERTIES (                                    
      'bucketing_version'='2',                         
      'transient_lastDdlTime'='1689933204');
   ```
   
   **Note:** 
   I have successed import the same file using hdfs broker on doris1.2
   
   ### What You Expected?
   
   I would like to know the reason and solution
   
   ### 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-unsubscr...@doris.apache.org.apache.org

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


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

Reply via email to