205206207208209210211212213214
} } catch (IOException e) { int errCode = 6007; String msg = "Unable to check name " + name; throw new DataStorageException(msg, errCode, PigException.REMOTE_ENVIRONMENT, e); } return isContainer; }
231232233234235236237238
return hpaths.toArray(new HPath[hpaths.size()]); } catch (IOException e) { int errCode = 6008; String msg = "Failed to obtain glob for " + pattern; throw new DataStorageException(msg, errCode, PigException.REMOTE_ENVIRONMENT, e); } }
194195196197198199200201202203
try { if ((this.fs.exists(path)) && (!this.fs.isFile(path))) { isContainer = true; } } catch (IOException e) { throw new DataStorageException("Unable to check name " + name, e); } return isContainer; }
218219220221222223224225226
} } return hpaths.toArray(new HPath[hpaths.size()]); } catch (IOException e) { throw new DataStorageException("Failed to obtain glob for " + pattern, e); } }
505506507508509510511512513514
tempContainer = pigContext.getDfs().asContainer(tdir + "/temp" + r.nextInt()); try { createContainer(tempContainer); } catch (IOException e1) { throw new DataStorageException(e1); } } return tempContainer; }
479480481482483484485486487488489
relativeRoot.set(relative); try { createRelativeRoot(relative); } catch (IOException e1) { throw new DataStorageException(e1); } } } return relativeRoot.get();
202203204205206207208209210211
228229230231232233234235