{"action":"closed","issue":{"url":"https://api.github.com/repos/JohnSnowLabs/spark-nlp/issues/126","repository_url":"https://api.github.com/repos/JohnSnowLabs/spark-nlp","labels_url":"https://api.github.com/repos/JohnSnowLabs/spark-nlp/issues/126/labels{/name}","comments_url":"https://api.github.com/repos/JohnSnowLabs/spark-nlp/issues/126/comments","events_url":"https://api.github.com/repos/JohnSnowLabs/spark-nlp/issues/126/events","html_url":"https://github.com/JohnSnowLabs/spark-nlp/issues/126","id":300720839,"number":126,"title":"Downloadable NerCrf sometimes fails on first attempt","user":{"login":"saifjsl","id":27952699,"avatar_url":"https://avatars3.githubusercontent.com/u/27952699?v=4","gravatar_id":"","url":"https://api.github.com/users/saifjsl","html_url":"https://github.com/saifjsl","followers_url":"https://api.github.com/users/saifjsl/followers","following_url":"https://api.github.com/users/saifjsl/following{/other_user}","gists_url":"https://api.github.com/users/saifjsl/gists{/gist_id}","starred_url":"https://api.github.com/users/saifjsl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saifjsl/subscriptions","organizations_url":"https://api.github.com/users/saifjsl/orgs","repos_url":"https://api.github.com/users/saifjsl/repos","events_url":"https://api.github.com/users/saifjsl/events{/privacy}","received_events_url":"https://api.github.com/users/saifjsl/received_events","type":"User","site_admin":false},"labels":[{"id":781552609,"url":"https://api.github.com/repos/JohnSnowLabs/spark-nlp/labels/Requires%20more%20input","name":"Requires more input","color":"f4a85d","default":false}],"state":"closed","locked":false,"assignee":{"login":"aleksei-ai","id":31881382,"avatar_url":"https://avatars2.githubusercontent.com/u/31881382?v=4","gravatar_id":"","url":"https://api.github.com/users/aleksei-ai","html_url":"https://github.com/aleksei-ai","followers_url":"https://api.github.com/users/aleksei-ai/followers","following_url":"https://api.github.com/users/aleksei-ai/following{/other_user}","gists_url":"https://api.github.com/users/aleksei-ai/gists{/gist_id}","starred_url":"https://api.github.com/users/aleksei-ai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aleksei-ai/subscriptions","organizations_url":"https://api.github.com/users/aleksei-ai/orgs","repos_url":"https://api.github.com/users/aleksei-ai/repos","events_url":"https://api.github.com/users/aleksei-ai/events{/privacy}","received_events_url":"https://api.github.com/users/aleksei-ai/received_events","type":"User","site_admin":false},"assignees":[{"login":"aleksei-ai","id":31881382,"avatar_url":"https://avatars2.githubusercontent.com/u/31881382?v=4","gravatar_id":"","url":"https://api.github.com/users/aleksei-ai","html_url":"https://github.com/aleksei-ai","followers_url":"https://api.github.com/users/aleksei-ai/followers","following_url":"https://api.github.com/users/aleksei-ai/following{/other_user}","gists_url":"https://api.github.com/users/aleksei-ai/gists{/gist_id}","starred_url":"https://api.github.com/users/aleksei-ai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aleksei-ai/subscriptions","organizations_url":"https://api.github.com/users/aleksei-ai/orgs","repos_url":"https://api.github.com/users/aleksei-ai/repos","events_url":"https://api.github.com/users/aleksei-ai/events{/privacy}","received_events_url":"https://api.github.com/users/aleksei-ai/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2018-02-27T17:21:38Z","updated_at":"2018-03-28T09:16:08Z","closed_at":"2018-03-28T09:16:07Z","author_association":"CONTRIBUTOR","body":"<!--- Provide a general summary of the issue in the Title above -->\r\n\r\n## Description\r\n<!--- Provide a more detailed introduction to the issue itself, and why you consider it to be a bug -->\r\nThis can be reproduced in the ModelDownloaderExample on python notebooks.\r\nThe second time sometimes returns a 'Socket is closed' exception, and works only the third attempt.\r\nThis is a sporadic issue, some times it may not happen at all. Restart kernel and try again to reproduce it.\r\n```\r\nCaused by: org.rocksdb.RocksDBException: /tmp/spark-8d16b019-0b39-463a-b053-64f78a5cb79a/userFiles-4738a68b-a048-40d8-a4be-56546aea45e3/embeddings8aa1a103f941_idx5018497528102697011_work/MANIFEST-000008: No such file or directory\r\n\tat org.rocksdb.RocksDB.openROnly(Native Method)\r\n\tat org.rocksdb.RocksDB.openReadOnly(RocksDB.java:366)\r\n\tat org.rocksdb.RocksDB.openReadOnly(RocksDB.java:315)\r\n\tat com.johnsnowlabs.nlp.embeddings.WordEmbeddings.<init>(WordEmbeddings.scala:13)\r\n\tat com.johnsnowlabs.nlp.HasWordEmbeddings$$anonfun$embeddings$1.apply(HasWordEmbeddings.scala:35)\r\n\tat com.johnsnowlabs.nlp.HasWordEmbeddings$$anonfun$embeddings$1.apply(HasWordEmbeddings.scala:28)\r\n\tat scala.Option.map(Option.scala:146)\r\n\tat com.johnsnowlabs.nlp.HasWordEmbeddings$class.embeddings(HasWordEmbeddings.scala:28)\r\n\tat com.johnsnowlabs.nlp.annotators.ner.crf.NerCrfModel.embeddings$lzycompute(NerCrfModel.scala:18)\r\n\tat com.johnsnowlabs.nlp.annotators.ner.crf.NerCrfModel.embeddings(NerCrfModel.scala:18)\r\n\tat com.johnsnowlabs.nlp.annotators.ner.crf.NerCrfModel.tag(NerCrfModel.scala:43)\r\n\tat com.johnsnowlabs.nlp.annotators.ner.crf.NerCrfModel.annotate(NerCrfModel.scala:66)\r\n\tat com.johnsnowlabs.nlp.AnnotatorModel$$anonfun$dfAnnotate$1.apply(AnnotatorModel.scala:43)\r\n\tat com.johnsnowlabs.nlp.AnnotatorModel$$anonfun$dfAnnotate$1.apply(AnnotatorModel.scala:42)\r\n\t... 16 more\r\n```\r\n## Expected Behavior\r\n<!--- Tell us what should happen -->\r\nShould work for the first time after it is downloaded"}}
{"actor":{"display_login":"aleksei-ai"}}