[jira] [Updated] (HIVE-17947) Concurrent inserts might fail for ACID table since HIVE-17526 on branch-1
[ https://issues.apache.org/jira/browse/HIVE-17947?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Zoltan Haindrich updated HIVE-17947: Resolution: Fixed Fix Version/s: 1.3.0 Status: Resolved (was: Patch Available) pushed to branch-1 Thank you [~dvoros] for fixing this and Eugene for the review! > Concurrent inserts might fail for ACID table since HIVE-17526 on branch-1 > - > > Key: HIVE-17947 > URL: https://issues.apache.org/jira/browse/HIVE-17947 > Project: Hive > Issue Type: Bug > Components: Transactions >Affects Versions: 1.3.0 >Reporter: Daniel Voros >Assignee: Daniel Voros >Priority: Blocker > Fix For: 1.3.0 > > Attachments: HIVE-17947.1-branch-1.patch, > HIVE-17947.2-branch-1.patch, HIVE-17947.3-branch-1.patch > > > HIVE-17526 (only on branch-1) disabled conversion to ACID if there are > *_copy_N files under the table, but the filesystem checks introduced there > are running for every insert since the MoveTask in the end of the insert will > call alterTable eventually. > The filename checking also recurses into staging directories created by other > inserts. If those are removed while listing the files, it leads to the > following exception and failing insert: > {code} > java.io.FileNotFoundException: File > hdfs://mycluster/apps/hive/warehouse/dvoros.db/concurrent_insert/.hive-staging_hive_2017-10-30_13-23-35_056_2844419018556002410-2/-ext-10001 > does not exist. > at > org.apache.hadoop.hdfs.DistributedFileSystem$DirListingIterator.(DistributedFileSystem.java:1081) > ~[hadoop-hdfs-2.7.3.2.6.3.0-235.jar:?] > at > org.apache.hadoop.hdfs.DistributedFileSystem$DirListingIterator.(DistributedFileSystem.java:1059) > ~[hadoop-hdfs-2.7.3.2.6.3.0-235.jar:?] > at > org.apache.hadoop.hdfs.DistributedFileSystem$23.doCall(DistributedFileSystem.java:1004) > ~[hadoop-hdfs-2.7.3.2.6.3.0-235.jar:?] > at > org.apache.hadoop.hdfs.DistributedFileSystem$23.doCall(DistributedFileSystem.java:1000) > ~[hadoop-hdfs-2.7.3.2.6.3.0-235.jar:?] > at > org.apache.hadoop.fs.FileSystemLinkResolver.resolve(FileSystemLinkResolver.java:81) > ~[hadoop-common-2.7.3.2.6.3.0-235.jar:?] > at > org.apache.hadoop.hdfs.DistributedFileSystem.listLocatedStatus(DistributedFileSystem.java:1018) > ~[hadoop-hdfs-2.7.3.2.6.3.0-235.jar:?] > at > org.apache.hadoop.fs.FileSystem.listLocatedStatus(FileSystem.java:1735) > ~[hadoop-common-2.7.3.2.6.3.0-235.jar:?] > at > org.apache.hadoop.fs.FileSystem$6.handleFileStat(FileSystem.java:1864) > ~[hadoop-common-2.7.3.2.6.3.0-235.jar:?] > at org.apache.hadoop.fs.FileSystem$6.hasNext(FileSystem.java:1841) > ~[hadoop-common-2.7.3.2.6.3.0-235.jar:?] > at > org.apache.hadoop.hive.metastore.TransactionalValidationListener.containsCopyNFiles(TransactionalValidationListener.java:226) > [hive-exec-2.1.0.2.6.3.0-235.jar:2.1.0.2.6.3.0-235] > at > org.apache.hadoop.hive.metastore.TransactionalValidationListener.handleAlterTableTransactionalProp(TransactionalValidationListener.java:104) > [hive-exec-2.1.0.2.6.3.0-235.jar:2.1.0.2.6.3.0-235] > at > org.apache.hadoop.hive.metastore.TransactionalValidationListener.handle(TransactionalValidationListener.java:63) > [hive-exec-2.1.0.2.6.3.0-235.jar:2.1.0.2.6.3.0-235] > at > org.apache.hadoop.hive.metastore.TransactionalValidationListener.onEvent(TransactionalValidationListener.java:55) > [hive-exec-2.1.0.2.6.3.0-235.jar:2.1.0.2.6.3.0-235] > at > org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.firePreEvent(HiveMetaStore.java:2478) > [hive-exec-2.1.0.2.6.3.0-235.jar:2.1.0.2.6.3.0-235] > at > org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.alter_table_core(HiveMetaStore.java:4145) > [hive-exec-2.1.0.2.6.3.0-235.jar:2.1.0.2.6.3.0-235] > at > org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.alter_table_with_environment_context(HiveMetaStore.java:4117) > [hive-exec-2.1.0.2.6.3.0-235.jar:2.1.0.2.6.3.0-235] > at sun.reflect.GeneratedMethodAccessor107.invoke(Unknown Source) > ~[?:?] > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > ~[?:1.8.0_144] > at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_144] > at > org.apache.hadoop.hive.metastore.RetryingHMSHandler.invokeInternal(RetryingHMSHandler.java:148) > [hive-exec-2.1.0.2.6.3.0-235.jar:2.1.0.2.6.3.0-235] > at > org.apache.hadoop.hive.metastore.RetryingHMSHandler.invoke(RetryingHMSHandler.java:107) > [hive-exec-2.1.0.2.6.3.0-235.jar:2.1.0.2.6.3.0-235] > at > com.sun.proxy.$Proxy32.alter_table_with_environment_context(Unknown Source) > [?:?] >
[jira] [Updated] (HIVE-17947) Concurrent inserts might fail for ACID table since HIVE-17526 on branch-1
[ https://issues.apache.org/jira/browse/HIVE-17947?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Daniel Voros updated HIVE-17947: Attachment: HIVE-17947.3-branch-1.patch Attaching patch #3. This checks files only (not directories) and without adding them to the stack first. > Concurrent inserts might fail for ACID table since HIVE-17526 on branch-1 > - > > Key: HIVE-17947 > URL: https://issues.apache.org/jira/browse/HIVE-17947 > Project: Hive > Issue Type: Bug > Components: Transactions >Affects Versions: 1.3.0 >Reporter: Daniel Voros >Assignee: Daniel Voros >Priority: Blocker > Attachments: HIVE-17947.1-branch-1.patch, > HIVE-17947.2-branch-1.patch, HIVE-17947.3-branch-1.patch > > > HIVE-17526 (only on branch-1) disabled conversion to ACID if there are > *_copy_N files under the table, but the filesystem checks introduced there > are running for every insert since the MoveTask in the end of the insert will > call alterTable eventually. > The filename checking also recurses into staging directories created by other > inserts. If those are removed while listing the files, it leads to the > following exception and failing insert: > {code} > java.io.FileNotFoundException: File > hdfs://mycluster/apps/hive/warehouse/dvoros.db/concurrent_insert/.hive-staging_hive_2017-10-30_13-23-35_056_2844419018556002410-2/-ext-10001 > does not exist. > at > org.apache.hadoop.hdfs.DistributedFileSystem$DirListingIterator.(DistributedFileSystem.java:1081) > ~[hadoop-hdfs-2.7.3.2.6.3.0-235.jar:?] > at > org.apache.hadoop.hdfs.DistributedFileSystem$DirListingIterator.(DistributedFileSystem.java:1059) > ~[hadoop-hdfs-2.7.3.2.6.3.0-235.jar:?] > at > org.apache.hadoop.hdfs.DistributedFileSystem$23.doCall(DistributedFileSystem.java:1004) > ~[hadoop-hdfs-2.7.3.2.6.3.0-235.jar:?] > at > org.apache.hadoop.hdfs.DistributedFileSystem$23.doCall(DistributedFileSystem.java:1000) > ~[hadoop-hdfs-2.7.3.2.6.3.0-235.jar:?] > at > org.apache.hadoop.fs.FileSystemLinkResolver.resolve(FileSystemLinkResolver.java:81) > ~[hadoop-common-2.7.3.2.6.3.0-235.jar:?] > at > org.apache.hadoop.hdfs.DistributedFileSystem.listLocatedStatus(DistributedFileSystem.java:1018) > ~[hadoop-hdfs-2.7.3.2.6.3.0-235.jar:?] > at > org.apache.hadoop.fs.FileSystem.listLocatedStatus(FileSystem.java:1735) > ~[hadoop-common-2.7.3.2.6.3.0-235.jar:?] > at > org.apache.hadoop.fs.FileSystem$6.handleFileStat(FileSystem.java:1864) > ~[hadoop-common-2.7.3.2.6.3.0-235.jar:?] > at org.apache.hadoop.fs.FileSystem$6.hasNext(FileSystem.java:1841) > ~[hadoop-common-2.7.3.2.6.3.0-235.jar:?] > at > org.apache.hadoop.hive.metastore.TransactionalValidationListener.containsCopyNFiles(TransactionalValidationListener.java:226) > [hive-exec-2.1.0.2.6.3.0-235.jar:2.1.0.2.6.3.0-235] > at > org.apache.hadoop.hive.metastore.TransactionalValidationListener.handleAlterTableTransactionalProp(TransactionalValidationListener.java:104) > [hive-exec-2.1.0.2.6.3.0-235.jar:2.1.0.2.6.3.0-235] > at > org.apache.hadoop.hive.metastore.TransactionalValidationListener.handle(TransactionalValidationListener.java:63) > [hive-exec-2.1.0.2.6.3.0-235.jar:2.1.0.2.6.3.0-235] > at > org.apache.hadoop.hive.metastore.TransactionalValidationListener.onEvent(TransactionalValidationListener.java:55) > [hive-exec-2.1.0.2.6.3.0-235.jar:2.1.0.2.6.3.0-235] > at > org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.firePreEvent(HiveMetaStore.java:2478) > [hive-exec-2.1.0.2.6.3.0-235.jar:2.1.0.2.6.3.0-235] > at > org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.alter_table_core(HiveMetaStore.java:4145) > [hive-exec-2.1.0.2.6.3.0-235.jar:2.1.0.2.6.3.0-235] > at > org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.alter_table_with_environment_context(HiveMetaStore.java:4117) > [hive-exec-2.1.0.2.6.3.0-235.jar:2.1.0.2.6.3.0-235] > at sun.reflect.GeneratedMethodAccessor107.invoke(Unknown Source) > ~[?:?] > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > ~[?:1.8.0_144] > at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_144] > at > org.apache.hadoop.hive.metastore.RetryingHMSHandler.invokeInternal(RetryingHMSHandler.java:148) > [hive-exec-2.1.0.2.6.3.0-235.jar:2.1.0.2.6.3.0-235] > at > org.apache.hadoop.hive.metastore.RetryingHMSHandler.invoke(RetryingHMSHandler.java:107) > [hive-exec-2.1.0.2.6.3.0-235.jar:2.1.0.2.6.3.0-235] > at > com.sun.proxy.$Proxy32.alter_table_with_environment_context(Unknown Source) > [?:?] > at >
[jira] [Updated] (HIVE-17947) Concurrent inserts might fail for ACID table since HIVE-17526 on branch-1
[ https://issues.apache.org/jira/browse/HIVE-17947?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Daniel Voros updated HIVE-17947: Attachment: HIVE-17947.2-branch-1.patch Attaching patch #2. This runs DFS until first occurrence instead of keeping all FileStatuses in memory (as with {{FileUtils#listStatusRecursively()}}). Also reusing Warehouse object. > Concurrent inserts might fail for ACID table since HIVE-17526 on branch-1 > - > > Key: HIVE-17947 > URL: https://issues.apache.org/jira/browse/HIVE-17947 > Project: Hive > Issue Type: Bug > Components: Transactions >Affects Versions: 1.3.0 >Reporter: Daniel Voros >Assignee: Daniel Voros >Priority: Blocker > Attachments: HIVE-17947.1-branch-1.patch, HIVE-17947.2-branch-1.patch > > > HIVE-17526 (only on branch-1) disabled conversion to ACID if there are > *_copy_N files under the table, but the filesystem checks introduced there > are running for every insert since the MoveTask in the end of the insert will > call alterTable eventually. > The filename checking also recurses into staging directories created by other > inserts. If those are removed while listing the files, it leads to the > following exception and failing insert: > {code} > java.io.FileNotFoundException: File > hdfs://mycluster/apps/hive/warehouse/dvoros.db/concurrent_insert/.hive-staging_hive_2017-10-30_13-23-35_056_2844419018556002410-2/-ext-10001 > does not exist. > at > org.apache.hadoop.hdfs.DistributedFileSystem$DirListingIterator.(DistributedFileSystem.java:1081) > ~[hadoop-hdfs-2.7.3.2.6.3.0-235.jar:?] > at > org.apache.hadoop.hdfs.DistributedFileSystem$DirListingIterator.(DistributedFileSystem.java:1059) > ~[hadoop-hdfs-2.7.3.2.6.3.0-235.jar:?] > at > org.apache.hadoop.hdfs.DistributedFileSystem$23.doCall(DistributedFileSystem.java:1004) > ~[hadoop-hdfs-2.7.3.2.6.3.0-235.jar:?] > at > org.apache.hadoop.hdfs.DistributedFileSystem$23.doCall(DistributedFileSystem.java:1000) > ~[hadoop-hdfs-2.7.3.2.6.3.0-235.jar:?] > at > org.apache.hadoop.fs.FileSystemLinkResolver.resolve(FileSystemLinkResolver.java:81) > ~[hadoop-common-2.7.3.2.6.3.0-235.jar:?] > at > org.apache.hadoop.hdfs.DistributedFileSystem.listLocatedStatus(DistributedFileSystem.java:1018) > ~[hadoop-hdfs-2.7.3.2.6.3.0-235.jar:?] > at > org.apache.hadoop.fs.FileSystem.listLocatedStatus(FileSystem.java:1735) > ~[hadoop-common-2.7.3.2.6.3.0-235.jar:?] > at > org.apache.hadoop.fs.FileSystem$6.handleFileStat(FileSystem.java:1864) > ~[hadoop-common-2.7.3.2.6.3.0-235.jar:?] > at org.apache.hadoop.fs.FileSystem$6.hasNext(FileSystem.java:1841) > ~[hadoop-common-2.7.3.2.6.3.0-235.jar:?] > at > org.apache.hadoop.hive.metastore.TransactionalValidationListener.containsCopyNFiles(TransactionalValidationListener.java:226) > [hive-exec-2.1.0.2.6.3.0-235.jar:2.1.0.2.6.3.0-235] > at > org.apache.hadoop.hive.metastore.TransactionalValidationListener.handleAlterTableTransactionalProp(TransactionalValidationListener.java:104) > [hive-exec-2.1.0.2.6.3.0-235.jar:2.1.0.2.6.3.0-235] > at > org.apache.hadoop.hive.metastore.TransactionalValidationListener.handle(TransactionalValidationListener.java:63) > [hive-exec-2.1.0.2.6.3.0-235.jar:2.1.0.2.6.3.0-235] > at > org.apache.hadoop.hive.metastore.TransactionalValidationListener.onEvent(TransactionalValidationListener.java:55) > [hive-exec-2.1.0.2.6.3.0-235.jar:2.1.0.2.6.3.0-235] > at > org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.firePreEvent(HiveMetaStore.java:2478) > [hive-exec-2.1.0.2.6.3.0-235.jar:2.1.0.2.6.3.0-235] > at > org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.alter_table_core(HiveMetaStore.java:4145) > [hive-exec-2.1.0.2.6.3.0-235.jar:2.1.0.2.6.3.0-235] > at > org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.alter_table_with_environment_context(HiveMetaStore.java:4117) > [hive-exec-2.1.0.2.6.3.0-235.jar:2.1.0.2.6.3.0-235] > at sun.reflect.GeneratedMethodAccessor107.invoke(Unknown Source) > ~[?:?] > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > ~[?:1.8.0_144] > at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_144] > at > org.apache.hadoop.hive.metastore.RetryingHMSHandler.invokeInternal(RetryingHMSHandler.java:148) > [hive-exec-2.1.0.2.6.3.0-235.jar:2.1.0.2.6.3.0-235] > at > org.apache.hadoop.hive.metastore.RetryingHMSHandler.invoke(RetryingHMSHandler.java:107) > [hive-exec-2.1.0.2.6.3.0-235.jar:2.1.0.2.6.3.0-235] > at > com.sun.proxy.$Proxy32.alter_table_with_environment_context(Unknown Source) > [?:?] > at >
[jira] [Updated] (HIVE-17947) Concurrent inserts might fail for ACID table since HIVE-17526 on branch-1
[ https://issues.apache.org/jira/browse/HIVE-17947?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Daniel Voros updated HIVE-17947: Attachment: HIVE-17947.1-branch-1.patch Attaching patch #1. This changes the following: - Add logging of cause exception on errors during looking for *_copy_N files - Skip hidden files ({{.\*}} and {{_\*}}) when looking for *_copy_N files - Only run checks when converting table to ACID and not on every alter table > Concurrent inserts might fail for ACID table since HIVE-17526 on branch-1 > - > > Key: HIVE-17947 > URL: https://issues.apache.org/jira/browse/HIVE-17947 > Project: Hive > Issue Type: Bug > Components: Transactions >Affects Versions: 1.3.0 >Reporter: Daniel Voros >Assignee: Daniel Voros >Priority: Blocker > Attachments: HIVE-17947.1-branch-1.patch > > > HIVE-17526 (only on branch-1) disabled conversion to ACID if there are > *_copy_N files under the table, but the filesystem checks introduced there > are running for every insert since the MoveTask in the end of the insert will > call alterTable eventually. > The filename checking also recurses into staging directories created by other > inserts. If those are removed while listing the files, it leads to the > following exception and failing insert: > {code} > java.io.FileNotFoundException: File > hdfs://mycluster/apps/hive/warehouse/dvoros.db/concurrent_insert/.hive-staging_hive_2017-10-30_13-23-35_056_2844419018556002410-2/-ext-10001 > does not exist. > at > org.apache.hadoop.hdfs.DistributedFileSystem$DirListingIterator.(DistributedFileSystem.java:1081) > ~[hadoop-hdfs-2.7.3.2.6.3.0-235.jar:?] > at > org.apache.hadoop.hdfs.DistributedFileSystem$DirListingIterator.(DistributedFileSystem.java:1059) > ~[hadoop-hdfs-2.7.3.2.6.3.0-235.jar:?] > at > org.apache.hadoop.hdfs.DistributedFileSystem$23.doCall(DistributedFileSystem.java:1004) > ~[hadoop-hdfs-2.7.3.2.6.3.0-235.jar:?] > at > org.apache.hadoop.hdfs.DistributedFileSystem$23.doCall(DistributedFileSystem.java:1000) > ~[hadoop-hdfs-2.7.3.2.6.3.0-235.jar:?] > at > org.apache.hadoop.fs.FileSystemLinkResolver.resolve(FileSystemLinkResolver.java:81) > ~[hadoop-common-2.7.3.2.6.3.0-235.jar:?] > at > org.apache.hadoop.hdfs.DistributedFileSystem.listLocatedStatus(DistributedFileSystem.java:1018) > ~[hadoop-hdfs-2.7.3.2.6.3.0-235.jar:?] > at > org.apache.hadoop.fs.FileSystem.listLocatedStatus(FileSystem.java:1735) > ~[hadoop-common-2.7.3.2.6.3.0-235.jar:?] > at > org.apache.hadoop.fs.FileSystem$6.handleFileStat(FileSystem.java:1864) > ~[hadoop-common-2.7.3.2.6.3.0-235.jar:?] > at org.apache.hadoop.fs.FileSystem$6.hasNext(FileSystem.java:1841) > ~[hadoop-common-2.7.3.2.6.3.0-235.jar:?] > at > org.apache.hadoop.hive.metastore.TransactionalValidationListener.containsCopyNFiles(TransactionalValidationListener.java:226) > [hive-exec-2.1.0.2.6.3.0-235.jar:2.1.0.2.6.3.0-235] > at > org.apache.hadoop.hive.metastore.TransactionalValidationListener.handleAlterTableTransactionalProp(TransactionalValidationListener.java:104) > [hive-exec-2.1.0.2.6.3.0-235.jar:2.1.0.2.6.3.0-235] > at > org.apache.hadoop.hive.metastore.TransactionalValidationListener.handle(TransactionalValidationListener.java:63) > [hive-exec-2.1.0.2.6.3.0-235.jar:2.1.0.2.6.3.0-235] > at > org.apache.hadoop.hive.metastore.TransactionalValidationListener.onEvent(TransactionalValidationListener.java:55) > [hive-exec-2.1.0.2.6.3.0-235.jar:2.1.0.2.6.3.0-235] > at > org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.firePreEvent(HiveMetaStore.java:2478) > [hive-exec-2.1.0.2.6.3.0-235.jar:2.1.0.2.6.3.0-235] > at > org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.alter_table_core(HiveMetaStore.java:4145) > [hive-exec-2.1.0.2.6.3.0-235.jar:2.1.0.2.6.3.0-235] > at > org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.alter_table_with_environment_context(HiveMetaStore.java:4117) > [hive-exec-2.1.0.2.6.3.0-235.jar:2.1.0.2.6.3.0-235] > at sun.reflect.GeneratedMethodAccessor107.invoke(Unknown Source) > ~[?:?] > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > ~[?:1.8.0_144] > at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_144] > at > org.apache.hadoop.hive.metastore.RetryingHMSHandler.invokeInternal(RetryingHMSHandler.java:148) > [hive-exec-2.1.0.2.6.3.0-235.jar:2.1.0.2.6.3.0-235] > at > org.apache.hadoop.hive.metastore.RetryingHMSHandler.invoke(RetryingHMSHandler.java:107) > [hive-exec-2.1.0.2.6.3.0-235.jar:2.1.0.2.6.3.0-235] > at >
[jira] [Updated] (HIVE-17947) Concurrent inserts might fail for ACID table since HIVE-17526 on branch-1
[ https://issues.apache.org/jira/browse/HIVE-17947?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Daniel Voros updated HIVE-17947: Status: Patch Available (was: Open) > Concurrent inserts might fail for ACID table since HIVE-17526 on branch-1 > - > > Key: HIVE-17947 > URL: https://issues.apache.org/jira/browse/HIVE-17947 > Project: Hive > Issue Type: Bug > Components: Transactions >Affects Versions: 1.3.0 >Reporter: Daniel Voros >Assignee: Daniel Voros >Priority: Blocker > Attachments: HIVE-17947.1-branch-1.patch > > > HIVE-17526 (only on branch-1) disabled conversion to ACID if there are > *_copy_N files under the table, but the filesystem checks introduced there > are running for every insert since the MoveTask in the end of the insert will > call alterTable eventually. > The filename checking also recurses into staging directories created by other > inserts. If those are removed while listing the files, it leads to the > following exception and failing insert: > {code} > java.io.FileNotFoundException: File > hdfs://mycluster/apps/hive/warehouse/dvoros.db/concurrent_insert/.hive-staging_hive_2017-10-30_13-23-35_056_2844419018556002410-2/-ext-10001 > does not exist. > at > org.apache.hadoop.hdfs.DistributedFileSystem$DirListingIterator.(DistributedFileSystem.java:1081) > ~[hadoop-hdfs-2.7.3.2.6.3.0-235.jar:?] > at > org.apache.hadoop.hdfs.DistributedFileSystem$DirListingIterator.(DistributedFileSystem.java:1059) > ~[hadoop-hdfs-2.7.3.2.6.3.0-235.jar:?] > at > org.apache.hadoop.hdfs.DistributedFileSystem$23.doCall(DistributedFileSystem.java:1004) > ~[hadoop-hdfs-2.7.3.2.6.3.0-235.jar:?] > at > org.apache.hadoop.hdfs.DistributedFileSystem$23.doCall(DistributedFileSystem.java:1000) > ~[hadoop-hdfs-2.7.3.2.6.3.0-235.jar:?] > at > org.apache.hadoop.fs.FileSystemLinkResolver.resolve(FileSystemLinkResolver.java:81) > ~[hadoop-common-2.7.3.2.6.3.0-235.jar:?] > at > org.apache.hadoop.hdfs.DistributedFileSystem.listLocatedStatus(DistributedFileSystem.java:1018) > ~[hadoop-hdfs-2.7.3.2.6.3.0-235.jar:?] > at > org.apache.hadoop.fs.FileSystem.listLocatedStatus(FileSystem.java:1735) > ~[hadoop-common-2.7.3.2.6.3.0-235.jar:?] > at > org.apache.hadoop.fs.FileSystem$6.handleFileStat(FileSystem.java:1864) > ~[hadoop-common-2.7.3.2.6.3.0-235.jar:?] > at org.apache.hadoop.fs.FileSystem$6.hasNext(FileSystem.java:1841) > ~[hadoop-common-2.7.3.2.6.3.0-235.jar:?] > at > org.apache.hadoop.hive.metastore.TransactionalValidationListener.containsCopyNFiles(TransactionalValidationListener.java:226) > [hive-exec-2.1.0.2.6.3.0-235.jar:2.1.0.2.6.3.0-235] > at > org.apache.hadoop.hive.metastore.TransactionalValidationListener.handleAlterTableTransactionalProp(TransactionalValidationListener.java:104) > [hive-exec-2.1.0.2.6.3.0-235.jar:2.1.0.2.6.3.0-235] > at > org.apache.hadoop.hive.metastore.TransactionalValidationListener.handle(TransactionalValidationListener.java:63) > [hive-exec-2.1.0.2.6.3.0-235.jar:2.1.0.2.6.3.0-235] > at > org.apache.hadoop.hive.metastore.TransactionalValidationListener.onEvent(TransactionalValidationListener.java:55) > [hive-exec-2.1.0.2.6.3.0-235.jar:2.1.0.2.6.3.0-235] > at > org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.firePreEvent(HiveMetaStore.java:2478) > [hive-exec-2.1.0.2.6.3.0-235.jar:2.1.0.2.6.3.0-235] > at > org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.alter_table_core(HiveMetaStore.java:4145) > [hive-exec-2.1.0.2.6.3.0-235.jar:2.1.0.2.6.3.0-235] > at > org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.alter_table_with_environment_context(HiveMetaStore.java:4117) > [hive-exec-2.1.0.2.6.3.0-235.jar:2.1.0.2.6.3.0-235] > at sun.reflect.GeneratedMethodAccessor107.invoke(Unknown Source) > ~[?:?] > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > ~[?:1.8.0_144] > at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_144] > at > org.apache.hadoop.hive.metastore.RetryingHMSHandler.invokeInternal(RetryingHMSHandler.java:148) > [hive-exec-2.1.0.2.6.3.0-235.jar:2.1.0.2.6.3.0-235] > at > org.apache.hadoop.hive.metastore.RetryingHMSHandler.invoke(RetryingHMSHandler.java:107) > [hive-exec-2.1.0.2.6.3.0-235.jar:2.1.0.2.6.3.0-235] > at > com.sun.proxy.$Proxy32.alter_table_with_environment_context(Unknown Source) > [?:?] > at > org.apache.hadoop.hive.metastore.HiveMetaStoreClient.alter_table_with_environmentContext(HiveMetaStoreClient.java:299) > [hive-exec-2.1.0.2.6.3.0-235.jar:2.1.0.2.6.3.0-235] > at >