Skip to content
This repository has been archived by the owner on Jun 28, 2022. It is now read-only.

How do i use stream2es in windows? #22

Open
tkmagesh opened this issue Feb 27, 2014 · 4 comments
Open

How do i use stream2es in windows? #22

tkmagesh opened this issue Feb 27, 2014 · 4 comments

Comments

@tkmagesh
Copy link

I am using windows 8 64-bit and I am unable to run stream2es after downloading it using curl.

@drewr
Copy link
Contributor

drewr commented Mar 21, 2014

What error do you see?

@HappyCoderMan
Copy link

I just got this to work on Windows. I struggled a lot with the --source path. Using anything other than this was giving me either path errors or trying to parse the source as a URL and throwing exceptions.

On Windows, using a UNC-like path to the source worked for me:
java -jar stream2es wiki --target http://localhost:9200/mywiki --log debug --source //localhost/wiki/enwiki-latest-pages-articles.xml.bz2

@RC-Jay
Copy link

RC-Jay commented Jul 31, 2017

How do i set up my dataset so that I can use that UNC like path?

@HappyCoderMan
Copy link

Assuming no security concerns, just right click on your C drive and set sharing to everything on your C drive.

That'll open \localhost* paths and \mycomputername* paths. I'm sure there's a "better" way, but this is what I did.

image

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants