{"action":"created","issue":{"url":"https://api.github.com/repos/alexcojocaru/elasticsearch-maven-plugin/issues/44","repository_url":"https://api.github.com/repos/alexcojocaru/elasticsearch-maven-plugin","labels_url":"https://api.github.com/repos/alexcojocaru/elasticsearch-maven-plugin/issues/44/labels{/name}","comments_url":"https://api.github.com/repos/alexcojocaru/elasticsearch-maven-plugin/issues/44/comments","events_url":"https://api.github.com/repos/alexcojocaru/elasticsearch-maven-plugin/issues/44/events","html_url":"https://github.com/alexcojocaru/elasticsearch-maven-plugin/issues/44","id":248352363,"number":44,"title":"Frequent process Termination","user":{"login":"trprasad","id":17176875,"avatar_url":"https://avatars3.githubusercontent.com/u/17176875?v=4","gravatar_id":"","url":"https://api.github.com/users/trprasad","html_url":"https://github.com/trprasad","followers_url":"https://api.github.com/users/trprasad/followers","following_url":"https://api.github.com/users/trprasad/following{/other_user}","gists_url":"https://api.github.com/users/trprasad/gists{/gist_id}","starred_url":"https://api.github.com/users/trprasad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trprasad/subscriptions","organizations_url":"https://api.github.com/users/trprasad/orgs","repos_url":"https://api.github.com/users/trprasad/repos","events_url":"https://api.github.com/users/trprasad/events{/privacy}","received_events_url":"https://api.github.com/users/trprasad/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-08-07T09:16:25Z","updated_at":"2017-08-08T12:31:31Z","closed_at":null,"body":"Hi, \r\nI've configure plugin as \r\n```\r\n            <plugin>\r\n                <groupId>com.github.alexcojocaru</groupId>\r\n                <artifactId>elasticsearch-maven-plugin</artifactId>\r\n                <version>5.9</version>\r\n                <configuration>\r\n                    <clusterName>${elasticsearch.clustername}</clusterName>\r\n                    <transportPort>${elasticsearch.tcp.port}</transportPort>\r\n                    <httpPort>${elasticsearch.http.port}</httpPort>\r\n                    <pathConf>${qa.config.dir}/elasticsearch-config</pathConf>\r\n                    <version>5.5.1</version>\r\n                    <timeout>120</timeout>\r\n                    <autoCreateIndex>false</autoCreateIndex>\r\n                    <plugins>\r\n                        <plugin>\r\n                            <uri>analysis-icu</uri>\r\n                        </plugin>\r\n                        <plugin>\r\n                            <uri>file:///${qa.config.dir}/elasticsearch-plugins/analyzed-queries/analyzed-queries-${elasticsearch.version}.0.zip</uri>\r\n                        </plugin>\r\n                    </plugins>\r\n                </configuration>\r\n                <executions>\r\n                    <execution>\r\n                        <id>start-elasticsearch</id>\r\n                        <phase>pre-integration-test</phase>\r\n                        <goals>\r\n                            <goal>runforked</goal>\r\n                        </goals>\r\n                        <configuration>\r\n                            <pathInitScript>${elasticsearch.loadscript}</pathInitScript>\r\n                            <skip>${skip.elasticsearch}</skip>\r\n                        </configuration>\r\n                    </execution>\r\n                    <execution>\r\n                        <id>stop-elasticsearch</id>\r\n                        <phase>post-integration-test</phase>\r\n                        <goals>\r\n                            <goal>stop</goal>\r\n                        </goals>\r\n                        <configuration>\r\n                            <skip>${skip.elasticsearch}</skip>\r\n                        </configuration>\r\n                    </execution>\r\n                </executions>\r\n                <dependencies>\r\n                    <dependency>\r\n                        <groupId>org.elasticsearch</groupId>\r\n                        <artifactId>elasticsearch</artifactId>\r\n                        <version>${elasticsearch.version}</version>\r\n                    </dependency>\r\n                </dependencies>\r\n            </plugin>\r\n```\r\nBut while execution, I keep getting failures while executing **load scripts**\r\n\r\n```\r\n[ERROR] Failed to execute goal com.github.alexcojocaru:elasticsearch-maven-plugin:5.9:runforked (start-elasticsearch) on project ls-search-qa-features: Execution start-elasticsearch of goal com.github.alexcojocaru:elasticsearch-maven-plugin:5.9:runforked failed: Cannot execute command PUT:company:{\"settings\":{\"analysis\":{\"char_filter\":{\"extract_id\":{\"type\":\"pattern_replace\",\"pattern\":\"^.*?\\\\s?([\\\\S]+)\\\\s*$\",\"replacement\":\"$1\"},\"add_start_stop_tokens\":\r\n....\r\n....\r\n.....\r\n java.net.SocketTimeoutException: Read timed out -> [Help 1]\r\n[ERROR]\r\n[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.\r\n[ERROR] Re-run Maven using the -X switch to enable full debug logging.\r\n[ERROR]\r\n[ERROR] For more information about the errors and possible solutions, please read the following articles:\r\n[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException\r\n[ERROR]\r\n[ERROR] After correcting the problems, you can resume the build with the command\r\n[ERROR]   mvn <goals> -rf :ls-search-qa-features\r\n[INFO] Apache ActiveMQ 5.10.0 (localhost, ID:UX000954-TPL-A-61745-1502096948112-0:1) is shutting down\r\n[INFO] Stopping the Elasticsearch process at application shutdown ...\r\n[INFO] Connector tcp://127.0.0.1:61616 stopped\r\n[INFO] ... the Elasticsearch process has stopped. Exit code: 1\r\n```\r\n\r\nAlthough, this is happening intermittently, one common thing is, this always fails during load script (`<pathInitScript>${elasticsearch.loadscript}</pathInitScript>`) execution.\r\n\r\nCould you please take a look?\r\n"},"comment":{"url":"https://api.github.com/repos/alexcojocaru/elasticsearch-maven-plugin/issues/comments/320941710","html_url":"https://github.com/alexcojocaru/elasticsearch-maven-plugin/issues/44#issuecomment-320941710","issue_url":"https://api.github.com/repos/alexcojocaru/elasticsearch-maven-plugin/issues/44","id":320941710,"user":{"login":"trprasad","id":17176875,"avatar_url":"https://avatars3.githubusercontent.com/u/17176875?v=4","gravatar_id":"","url":"https://api.github.com/users/trprasad","html_url":"https://github.com/trprasad","followers_url":"https://api.github.com/users/trprasad/followers","following_url":"https://api.github.com/users/trprasad/following{/other_user}","gists_url":"https://api.github.com/users/trprasad/gists{/gist_id}","starred_url":"https://api.github.com/users/trprasad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trprasad/subscriptions","organizations_url":"https://api.github.com/users/trprasad/orgs","repos_url":"https://api.github.com/users/trprasad/repos","events_url":"https://api.github.com/users/trprasad/events{/privacy}","received_events_url":"https://api.github.com/users/trprasad/received_events","type":"User","site_admin":false},"created_at":"2017-08-08T12:31:31Z","updated_at":"2017-08-08T12:31:31Z","body":"Sure, I've already enabled `DEBUG` this morning, as soon as I get error again, I'll post it here.\r\nThanks for looking into problem."}}
{"actor":{"display_login":"trprasad"}}