[ 
https://issues.apache.org/jira/browse/HIVE-21558?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16806810#comment-16806810
 ] 

Peter Vary commented on HIVE-21558:
-----------------------------------

[~vgumashta]: Could you review please?

CC: [~hamvas.aron], [~dvoros]

> Query based compaction fails if the temporary FS is different than the table 
> FS
> -------------------------------------------------------------------------------
>
>                 Key: HIVE-21558
>                 URL: https://issues.apache.org/jira/browse/HIVE-21558
>             Project: Hive
>          Issue Type: Bug
>          Components: Transactions
>            Reporter: Peter Vary
>            Assignee: Peter Vary
>            Priority: Major
>         Attachments: HIVE-21558.patch
>
>
> The Exception I got is like this:
> {code:java}
> 2019-04-01T13:45:44,035 ERROR [PeterVary-MBP15.local-33] compactor.Worker: 
> Caught exception while trying to compact 
> id:24,dbname:default,tableName:acid,partName:null,state:,type:MAJOR,properties:null,runAs:petervary,tooManyAborts:false,highestWriteId:9.
>  Marking failed to avoid repeated failures, 
> java.lang.IllegalArgumentException: Wrong FS: 
> pfile:/Users/petervary/data/apache/hive/warehouse/acid/base_0000009_v0000284/bucket_00000,
>  expected: file:///
> at org.apache.hadoop.fs.FileSystem.checkPath(FileSystem.java:781)
> at 
> org.apache.hadoop.fs.RawLocalFileSystem.pathToFile(RawLocalFileSystem.java:86)
> at 
> org.apache.hadoop.fs.RawLocalFileSystem.deprecatedGetFileStatus(RawLocalFileSystem.java:636)
> at 
> org.apache.hadoop.fs.RawLocalFileSystem.getFileLinkStatusInternal(RawLocalFileSystem.java:930)
> at 
> org.apache.hadoop.fs.RawLocalFileSystem.getFileStatus(RawLocalFileSystem.java:631)
> at 
> org.apache.hadoop.fs.FilterFileSystem.getFileStatus(FilterFileSystem.java:454)
> at org.apache.hadoop.fs.FileSystem.isFile(FileSystem.java:1768)
> at 
> org.apache.hadoop.hive.ql.io.ProxyLocalFileSystem.rename(ProxyLocalFileSystem.java:34)
> at 
> org.apache.hadoop.hive.ql.txn.compactor.CompactorMR.commitCrudMajorCompaction(CompactorMR.java:583)
> at 
> org.apache.hadoop.hive.ql.txn.compactor.CompactorMR.runCrudCompaction(CompactorMR.java:401)
> at 
> org.apache.hadoop.hive.ql.txn.compactor.CompactorMR.run(CompactorMR.java:248)
> at org.apache.hadoop.hive.ql.txn.compactor.Worker.run(Worker.java:195){code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to