Details
-
Bug
-
Status: Resolved
-
Blocker
-
Resolution: Later
-
2.1.0-beta, 2.1.1-beta, 2.2.0
-
None
-
None
-
None
Description
HBase snapshot export adds dependent jars (local files) through "tmpjars" config entry.
When debugging HBASE-9687, we found that scheme for local file (file://) is lost by DistributedCache.addFileToClassPath() call in JobSubmitter.
The root cause of this problem is that we are somehow losing "file://" from the uri. In the earlier code we were creating new Path object (new Path (newPath.toUri().getPath()) ) where as part of newPath.toUri().getPath() call we are losing the authority and scheme which are passed in.
Thanks to Omkar and Vinod who helped debug this issue