GitHub user 492066199 opened a pull request:
https://github.com/apache/phoenix/pull/306
PHOENIX-4797 file not found or file exist exception when create globâ¦
when create global index use -snaopshot option in mapreduce task
multi mapper use the same restore dir to work with snapshot.
1,mapper will remove the file after mapper task as the other mapper will
read the file
2,mapper will create the file when begin mapper task as the other mapper
will create the file too
the 1 will cause the file not found and the 2 will case the file is exists
I change this to let mappers use different dirs to work with snapshot,after
this path,the -snapshot option can works well .
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/492066199/phoenix master
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/phoenix/pull/306.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #306
commit 2eebc1af80af1bad6074ce36659e9c861a68db83
Author: 492066199 <492066199@...>
Date: 2018-06-27T07:52:42Z
PHOENIX-4797 file not found or file exist exception when create global
index use -snaopshot option
---