Skip to content

Ref #1084 Fixes File not Found Error#1162

Merged
keith-turner merged 2 commits intoapache:masterfrom
Manno15:acc_1084
May 16, 2019
Merged

Ref #1084 Fixes File not Found Error#1162
keith-turner merged 2 commits intoapache:masterfrom
Manno15:acc_1084

Conversation

@Manno15
Copy link
Copy Markdown
Contributor

@Manno15 Manno15 commented May 15, 2019

The main issue was importDirectory, when running a standalone instance, looked inside the users local filesystem instead of in hdfs which is what was causing this error. My fix for it was using the filesystem's default name key (mine being hdfs://localhost:8020 for example) and adding that to the front of the base path the test was using. This allowed the importDirectory function to have access to the full path so it would look inside hdfs instead of the users local filesystem.

I added the delete on exit command since this change altered the test when run with MiniAccumuloCluster. The path wouldn't be just the tmp directory like it was previously so it wouldn't properly be deleted. This caused license issues when building.

In reference to issue #1084

@keith-turner keith-turner merged commit 3cf6b71 into apache:master May 16, 2019
@Manno15 Manno15 deleted the acc_1084 branch May 17, 2019 11:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants