Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

removed hdfs schema from constructor string #32

Merged
merged 1 commit into from
Mar 15, 2018

Conversation

rporres
Copy link

@rporres rporres commented Mar 7, 2018

hdfs client fails to get built otherwise

# cat /siva.txt | pga get -i -o hdfs://hdfs-namenode-0.hdfs-namenode.default.svc.cluster.local:8020/repositories
Error: could not create HDFS client: no available namenodes: dial tcp: address hdfs://hdfs-namenode-0.hdfs-namenode.default.svc.cluster.local:8020/repositories: too many colons in address
Usage:
  pga get [flags]

Flags:
  -h, --help               help for get
  -j, --jobs int           number of concurrent gets allowed (default 10)
  -l, --lang stringSlice   list of languages that the repositories should have
  -o, --output string      path where the siva files should be stored (default ".")
  -i, --stdin              take list of siva files from standard input
  -u, --url string         regular expression that repo urls need to match

Global Flags:
  -v, --verbose   log more information

could not create HDFS client: no available namenodes: dial tcp: address hdfs://hdfs-namenode-0.hdfs-namenode.default.svc.cluster.local:8020/repositories: too many colons in address

@rporres rporres requested a review from campoy March 7, 2018 14:58
Signed-off-by: Rafael Porres <rafa@sourced.tech>
@campoy campoy merged commit f9fde40 into src-d:master Mar 15, 2018
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.

3 participants