/** * guarantee the existance of a directory on the remote system * * @param hdfsPath !null path - on the remote system */ @Override public void guaranteeDirectory(String hdfsPath) { if (isRunningAsUser()) { super.guaranteeDirectory(hdfsPath); return; } Path src = new Path(hdfsPath); guaranteeDirectory(src); }