{"action":"created","issue":{"url":"https://api.github.com/repos/Azure/pcs-storage-adapter-java/issues/53","repository_url":"https://api.github.com/repos/Azure/pcs-storage-adapter-java","labels_url":"https://api.github.com/repos/Azure/pcs-storage-adapter-java/issues/53/labels{/name}","comments_url":"https://api.github.com/repos/Azure/pcs-storage-adapter-java/issues/53/comments","events_url":"https://api.github.com/repos/Azure/pcs-storage-adapter-java/issues/53/events","html_url":"https://github.com/Azure/pcs-storage-adapter-java/issues/53","id":310538775,"node_id":"MDU6SXNzdWUzMTA1Mzg3NzU=","number":53,"title":"Storageadapter fails on Linux amd-64 machine","user":{"login":"cgritton","id":38011985,"node_id":"MDQ6VXNlcjM4MDExOTg1","avatar_url":"https://avatars2.githubusercontent.com/u/38011985?v=4","gravatar_id":"","url":"https://api.github.com/users/cgritton","html_url":"https://github.com/cgritton","followers_url":"https://api.github.com/users/cgritton/followers","following_url":"https://api.github.com/users/cgritton/following{/other_user}","gists_url":"https://api.github.com/users/cgritton/gists{/gist_id}","starred_url":"https://api.github.com/users/cgritton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cgritton/subscriptions","organizations_url":"https://api.github.com/users/cgritton/orgs","repos_url":"https://api.github.com/users/cgritton/repos","events_url":"https://api.github.com/users/cgritton/events{/privacy}","received_events_url":"https://api.github.com/users/cgritton/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"ppathan","id":16170750,"node_id":"MDQ6VXNlcjE2MTcwNzUw","avatar_url":"https://avatars2.githubusercontent.com/u/16170750?v=4","gravatar_id":"","url":"https://api.github.com/users/ppathan","html_url":"https://github.com/ppathan","followers_url":"https://api.github.com/users/ppathan/followers","following_url":"https://api.github.com/users/ppathan/following{/other_user}","gists_url":"https://api.github.com/users/ppathan/gists{/gist_id}","starred_url":"https://api.github.com/users/ppathan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ppathan/subscriptions","organizations_url":"https://api.github.com/users/ppathan/orgs","repos_url":"https://api.github.com/users/ppathan/repos","events_url":"https://api.github.com/users/ppathan/events{/privacy}","received_events_url":"https://api.github.com/users/ppathan/received_events","type":"User","site_admin":false},"assignees":[{"login":"ppathan","id":16170750,"node_id":"MDQ6VXNlcjE2MTcwNzUw","avatar_url":"https://avatars2.githubusercontent.com/u/16170750?v=4","gravatar_id":"","url":"https://api.github.com/users/ppathan","html_url":"https://github.com/ppathan","followers_url":"https://api.github.com/users/ppathan/followers","following_url":"https://api.github.com/users/ppathan/following{/other_user}","gists_url":"https://api.github.com/users/ppathan/gists{/gist_id}","starred_url":"https://api.github.com/users/ppathan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ppathan/subscriptions","organizations_url":"https://api.github.com/users/ppathan/orgs","repos_url":"https://api.github.com/users/ppathan/repos","events_url":"https://api.github.com/users/ppathan/events{/privacy}","received_events_url":"https://api.github.com/users/ppathan/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2018-04-02T16:54:34Z","updated_at":"2018-06-25T08:48:31Z","closed_at":"2018-04-19T16:04:48Z","author_association":"NONE","body":"# Type of issue <!-- [x] all the boxes that apply -->\r\n\r\n- [ x] Bug\r\n- [ ] New feature\r\n- [ ] Enhancement\r\n\r\n# Description <!-- Please provide a succinct description -->\r\nTaking the current repository and running a docker-compose up (per the instructions for a local run) fails.  The pattern of failures differs a bit from run to run but, consistently, the storageadapter fails. \r\n\r\nSpecifically, the ERROR message says: \"c.m.a.i.s.s.w.DocumentClientFactory - Error creating database: pcs-storage\" and it is followed immediately in the log with a warning that says: \"c.m.a.d.i.ServiceJNIWrapper - 'Linux' with 'amd64' system is not compatible with native library. JNI not loaded.\".  \r\n\r\nThere are subsequent errors as well but I assume they flow from this one.\r\n\r\n...\r\n\r\n# Steps to reproduce <!-- How can we reproduce the issue? -->\r\n\r\n1. Run docker-compose up on the repository following the instructions (after pcs login, pcs -s local, and copying the printed env variables to the .env file\r\n2. Use docker-compose logs to check the storageadapter status\r\n\r\n# Expected behavior <!-- The behavior you're expecting -->\r\nThe pre-configured system code runs without errors but, specifically with the storage adapter.\r\n\r\n# Current behavior <!-- The actual behavior observed -->\r\nThe pre-configured system code fails in several spots but seemingly with this root error.\r\n\r\n# Known workarounds <!-- If any, please share here -->\r\nNone\r\n\r\n# Possible solution <!-- If you have a suggestion, how the issue could be solved -->\r\n\r\n# Context and Environment\r\n* Operating System: Linux Ubuntu 16.04 LTS\r\n* GitHub branch: Master\r\n* Java SDK: OpenJDK version 1.8\r\n\r\n# Code to reproduce the bug <!-- Possibly include a test to reproduce the issue -->\r\n\r\nNo special code required - fails with Master code as is.  Relevant log snippet from storageadapter run shown below:\r\n\r\nAttaching to local_storageadapter_1\r\nstorageadapter_1    | [info] a.e.s.Slf4jLogger - Slf4jLogger started\r\nstorageadapter_1    | [info] o.h.v.i.u.Version - HV000001: Hibernate Validator 5.4.1.Final\r\nstorageadapter_1    | [warn] o.h.v.m.ParameterMessageInterpolator - HV000184: ParameterMessageInterpolator has been chosen, EL interpolation will not be supported\r\nstorageadapter_1    | [info] play.api.Play - Application started (Prod)\r\nstorageadapter_1    | [info] p.c.s.AkkaHttpServer - Listening for HTTP on /0:0:0:0:0:0:0:0:9022\r\nstorageadapter_1    | [info] c.m.a.d.DocumentClient - Initializing DocumentClient with serviceEndpoint [https://documentdb-ve2vr.documents.azure.com:443/], ConnectionPolicy [ConnectionPolicy [requestTimeout=60, mediaRequestTimeout=300, connectionMode=Gateway, mediaReadMode=Buffered, maxPoolSize=100, idleConnectionTimeout=60, userAgentSuffix=, retryOptions=com.microsoft.azure.documentdb.RetryOptions@5e17f4a7, enableEndpointDiscovery=true, preferredLocations=null]], ConsistencyLevel [Session]\r\nstorageadapter_1    | [info] c.m.a.d.DocumentClient - Initializing DocumentClient with serviceEndpoint [https://documentdb-ve2vr.documents.azure.com:443/], ConnectionPolicy [ConnectionPolicy [requestTimeout=60, mediaRequestTimeout=300, connectionMode=Gateway, mediaReadMode=Buffered, maxPoolSize=100, idleConnectionTimeout=60, userAgentSuffix=, retryOptions=com.microsoft.azure.documentdb.RetryOptions@5e17f4a7, enableEndpointDiscovery=true, preferredLocations=null]], ConsistencyLevel [Session]\r\nstorageadapter_1    | [info] c.m.a.d.DocumentClient - Initializing DocumentClient with serviceEndpoint [https://documentdb-ve2vr.documents.azure.com:443/], ConnectionPolicy [ConnectionPolicy [requestTimeout=60, mediaRequestTimeout=300, connectionMode=Gateway, mediaReadMode=Buffered, maxPoolSize=100, idleConnectionTimeout=60, userAgentSuffix=, retryOptions=com.microsoft.azure.documentdb.RetryOptions@5e17f4a7, enableEndpointDiscovery=true, preferredLocations=null]], ConsistencyLevel [Session]\r\nstorageadapter_1    | [error] c.m.a.i.s.s.w.DocumentClientFactory - Error creating database: pcs-storage\r\nstorageadapter_1    | [warn] c.m.a.d.i.ServiceJNIWrapper - 'Linux' with 'amd64' system is not compatible with native library. JNI not loaded.\r\nstorageadapter_1    | [error] c.m.a.i.s.s.DocDBKeyValueContainer - Error reading document: /dbs/pcs-storage/colls/pcs-storage/docs/solution-settings.seedmutex\r\nstorageadapter_1    | [error] c.m.a.i.s.s.DocDBKeyValueContainer - Error reading document: /dbs/pcs-storage/colls/pcs-storage/docs/solution-settings.seedcompleted\r\nstorageadapter_1    | [error] c.m.a.i.s.s.DocDBKeyValueContainer - Error reading document: /dbs/pcs-storage/colls/pcs-storage/docs/rules.default_chiller_pressure_high\r\nstorageadapter_1    | [error] c.m.a.i.s.s.DocDBKeyValueContainer - Error reading document: /dbs/pcs-storage/colls/pcs-storage/docs/cache.twin\r\nstorageadapter_1    | [info] p.c.s.AkkaHttpServer - Stopping server...\r\nstorageadapter_1    | [info] a.a.CoordinatedShutdown - Starting coordinated shutdown from JVM shutdown hook\r\nstorageadapter_1    | [info] a.e.s.Slf4jLogger - Slf4jLogger started\r\nstorageadapter_1    | [info] o.h.v.i.u.Version - HV000001: Hibernate Validator 5.4.1.Final\r\nstorageadapter_1    | [warn] o.h.v.m.ParameterMessageInterpolator - HV000184: ParameterMessageInterpolator has been chosen, EL interpolation will not be supported\r\nstorageadapter_1    | [info] play.api.Play - Application started (Prod)\r\nstorageadapter_1    | [info] p.c.s.AkkaHttpServer - Listening for HTTP on /0:0:0:0:0:0:0:0:9022\r\nstorageadapter_1    | [info] c.m.a.d.DocumentClient - Initializing DocumentClient with serviceEndpoint [https://documentdb-ve2vr.documents.azure.com:443/], ConnectionPolicy [ConnectionPolicy [requestTimeout=60, mediaRequestTimeout=300, connectionMode=Gateway, mediaReadMode=Buffered, maxPoolSize=100, idleConnectionTimeout=60, userAgentSuffix=, retryOptions=com.microsoft.azure.documentdb.RetryOptions@706f22c9, enableEndpointDiscovery=true, preferredLocations=null]], ConsistencyLevel [Session]\r\nstorageadapter_1    | [warn] c.m.a.d.i.ServiceJNIWrapper - 'Linux' with 'amd64' system is not compatible with native library. JNI not loaded.\r\n\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/Azure/pcs-storage-adapter-java/issues/comments/399878808","html_url":"https://github.com/Azure/pcs-storage-adapter-java/issues/53#issuecomment-399878808","issue_url":"https://api.github.com/repos/Azure/pcs-storage-adapter-java/issues/53","id":399878808,"node_id":"MDEyOklzc3VlQ29tbWVudDM5OTg3ODgwOA==","user":{"login":"oussamaoueskantena","id":40561997,"node_id":"MDQ6VXNlcjQwNTYxOTk3","avatar_url":"https://avatars0.githubusercontent.com/u/40561997?v=4","gravatar_id":"","url":"https://api.github.com/users/oussamaoueskantena","html_url":"https://github.com/oussamaoueskantena","followers_url":"https://api.github.com/users/oussamaoueskantena/followers","following_url":"https://api.github.com/users/oussamaoueskantena/following{/other_user}","gists_url":"https://api.github.com/users/oussamaoueskantena/gists{/gist_id}","starred_url":"https://api.github.com/users/oussamaoueskantena/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oussamaoueskantena/subscriptions","organizations_url":"https://api.github.com/users/oussamaoueskantena/orgs","repos_url":"https://api.github.com/users/oussamaoueskantena/repos","events_url":"https://api.github.com/users/oussamaoueskantena/events{/privacy}","received_events_url":"https://api.github.com/users/oussamaoueskantena/received_events","type":"User","site_admin":false},"created_at":"2018-06-25T08:48:31Z","updated_at":"2018-06-25T08:48:31Z","author_association":"NONE","body":"Hello, \r\n\r\nI have the same problem since I've tried to explore my Cosmos DB, now I can't do anything and when I do : \r\n\"docker logs [StorageAdapterID] \" I have found this logs:\r\n[warn] c.m.a.d.i.ServiceJNIWrapper - 'Linux' with 'amd64' system is not compatible with native library. JNI not loaded.\r\n[error] c.m.a.i.s.s.DocDBKeyValueContainer - Error reading document: /dbs/pcs-storage/colls/pcs-storage/docs/solution-settings.theme\r\n\r\n\r\nCan anyone help me?? thnx"}}
{"actor":{"display_login":"oussamaoueskantena"}}