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

Adding Datasets #2

Open
amrapalijz opened this issue Feb 22, 2019 · 11 comments
Open

Adding Datasets #2

amrapalijz opened this issue Feb 22, 2019 · 11 comments

Comments

@amrapalijz
Copy link

After I logged in, I clicked on "Add dataset". I used the CSV file from https://www.kaggle.com/fabdelja/autism-screening-for-toddlers/version/1.

  1. I get this error "Failed to open TCP connection to 127.0.0.1:9200 (Connection refused - connect(2) for "127.0.0.1" port 9200)": https://drive.google.com/open?id=1mX5rUT5iEv3LnzhPvKFqlNG0uaJbGPWM.

  2. When I click back I do see a list of the same dataset and the multiple attempts to upload: https://drive.google.com/open?id=1P6TAKUcXUh9UBG4tuf5dxWQ_HR_OSvZU.

  3. When I click on one of those datasets, I get an error "Something went wrong..", see https://drive.google.com/open?id=1lbyflIit6MA4lHuBh-Zq_FYtRYbTyjT5.

@slrbl
Copy link
Owner

slrbl commented Feb 23, 2019

It looks like an Elasticsearch problem. Could you check if it is running ? you can use the following command:
ps -eaf | grep elastic

@amrapalijz
Copy link
Author

It shows:

Amrapalis-MBP:tornado-active-learning amrapaliz$ ps -eaf | grep elastic
501 85987 2099 0 2:17PM ttys002 0:00.01 grep elastic

@slrbl
Copy link
Owner

slrbl commented Feb 26, 2019

That means it's not running.
Could try:

cd ./tornado_data/elasticsearch-6.2.4/
./bin/elasticsearch

@amrapalijz
Copy link
Author

Did and then it gives me this error

Java HotSpot(TM) 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release. [2019-02-26T19:55:57,563][WARN ][o.e.b.ElasticsearchUncaughtExceptionHandler] [] uncaught exception in thread [main] org.elasticsearch.bootstrap.StartupException: java.lang.IllegalStateException: plugins directory [/AMaastricht/1Projects/1Crowdsourcing/8OptimAL/tornado-active-learning/tornado_data/elasticsearch-6.2.4/plugins] not found at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:125) ~[elasticsearch-6.2.4.jar:6.2.4] at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:112) ~[elasticsearch-6.2.4.jar:6.2.4] at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:86) ~[elasticsearch-6.2.4.jar:6.2.4] at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:124) ~[elasticsearch-cli-6.2.4.jar:6.2.4] at org.elasticsearch.cli.Command.main(Command.java:90) ~[elasticsearch-cli-6.2.4.jar:6.2.4] at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:92) ~[elasticsearch-6.2.4.jar:6.2.4] at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:85) ~[elasticsearch-6.2.4.jar:6.2.4] Caused by: java.lang.IllegalStateException: plugins directory [/AMaastricht/1Projects/1Crowdsourcing/8OptimAL/tornado-active-learning/tornado_data/elasticsearch-6.2.4/plugins] not found at org.elasticsearch.bootstrap.Spawner.spawnNativePluginControllers(Spawner.java:67) ~[elasticsearch-6.2.4.jar:6.2.4] at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:167) ~[elasticsearch-6.2.4.jar:6.2.4] at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:323) ~[elasticsearch-6.2.4.jar:6.2.4] at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:121) ~[elasticsearch-6.2.4.jar:6.2.4] ... 6 more

@slrbl
Copy link
Owner

slrbl commented Feb 27, 2019

So, it's an ES problem. Could you download ES and replace the one in ./tornado_data/elasticsearch-6.2.4/ with it ? You will need rename it with "elasticsearch-6.2.4".

@amrapalijz
Copy link
Author

ok I was getting an error with elasticsearch (elastic/elasticsearch#35218) but managed to install it with brew (https://gist.github.com/jpalala/ab3c33dd9ee5a6efbdae) and then replaced the ./tornado_data/elasticsearch-6.2.4/ folder and renamed it. Now when I added the kaggle dataset I am now able to see the dataset table.

@slrbl
Copy link
Owner

slrbl commented Mar 7, 2019

Could you clone another Tornado and make this modification in the new folder and try again ?

@amrapalijz
Copy link
Author

I cloned another Tornado and made the same modifications (sqlite and elasticsearch) but I get an error: https://drive.google.com/file/d/1mX5rUT5iEv3LnzhPvKFqlNG0uaJbGPWM/view?usp=sharing when I am trying to upload the CSV file and create the dataset.

@slrbl
Copy link
Owner

slrbl commented Mar 7, 2019

Could you share the CSV Dataset you are using ?

@amrapalijz
Copy link
Author

Im using the one in your example https://www.kaggle.com/fabdelja/autism-screening-for-toddlers

@slrbl
Copy link
Owner

slrbl commented Mar 7, 2019

It's again an ES problem, you need to make sure it's running and listening on https://127.0.0.1:9200.

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

No branches or pull requests

2 participants