Skip to content

Comments

Fix Engine init settings#417

Open
manugarri wants to merge 1 commit intosrc-d:masterfrom
manugarri:patch-1
Open

Fix Engine init settings#417
manugarri wants to merge 1 commit intosrc-d:masterfrom
manugarri:patch-1

Conversation

@manugarri
Copy link

This PR fixes a simple bug I found when running the notebook on the engine docker image. Basically, the command:

engine = Engine(spark, "/repositories", "standard")

Failed with the error:

Py4JJavaError: An error occurred while calling o302.count.
: org.apache.hadoop.mapreduce.lib.input.InvalidInputException: Input Pattern file:/repositories/**/* matches 0 files

Which I assume it has to do with the expected structure of the repositories.

Replacing that line with:

engine = Engine(spark, "/repositories", "siva")

Fixed it.

This PR fixes a simple bug I found when running the notebook on the engine docker image. Basically, the command:

```
engine = Engine(spark, "/repositories", "standard")
```

Failed with the error:

```
Py4JJavaError: An error occurred while calling o302.count.
: org.apache.hadoop.mapreduce.lib.input.InvalidInputException: Input Pattern file:/repositories/**/* matches 0 files
```
Which I  assume it has to do with the expected structure of the repositories.

Replacing that line with:

```
engine = Engine(spark, "/repositories", "siva")
```


Fixed it.
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.

1 participant