{"action":"created","issue":{"url":"https://api.github.com/repos/apache/ambari/issues/1211","repository_url":"https://api.github.com/repos/apache/ambari","labels_url":"https://api.github.com/repos/apache/ambari/issues/1211/labels{/name}","comments_url":"https://api.github.com/repos/apache/ambari/issues/1211/comments","events_url":"https://api.github.com/repos/apache/ambari/issues/1211/events","html_url":"https://github.com/apache/ambari/pull/1211","id":321226356,"number":1211,"title":"[AMBARI-23783] Upgraded com.fasterxml.jackson.core:jackson-databind to 2.9.5 due to security concerns","user":{"login":"smolnar82","id":34065904,"avatar_url":"https://avatars3.githubusercontent.com/u/34065904?v=4","gravatar_id":"","url":"https://api.github.com/users/smolnar82","html_url":"https://github.com/smolnar82","followers_url":"https://api.github.com/users/smolnar82/followers","following_url":"https://api.github.com/users/smolnar82/following{/other_user}","gists_url":"https://api.github.com/users/smolnar82/gists{/gist_id}","starred_url":"https://api.github.com/users/smolnar82/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smolnar82/subscriptions","organizations_url":"https://api.github.com/users/smolnar82/orgs","repos_url":"https://api.github.com/users/smolnar82/repos","events_url":"https://api.github.com/users/smolnar82/events{/privacy}","received_events_url":"https://api.github.com/users/smolnar82/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-05-08T15:05:26Z","updated_at":"2018-05-08T22:08:21Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/apache/ambari/pulls/1211","html_url":"https://github.com/apache/ambari/pull/1211","diff_url":"https://github.com/apache/ambari/pull/1211.diff","patch_url":"https://github.com/apache/ambari/pull/1211.patch"},"body":"## What changes were proposed in this pull request?\r\n\r\nWe needed to upgrade dependency on com.fasterxml.jackson.core:jackson-databind 2.7.8 to v2.9.5 in Ambari Metrics Collector due to security concerns.\r\n\r\nIn addition to this I also upgraded `com.fasterxml.jackson.core:jackson-core` and `com.fasterxml.jackson.core:jackson-annotations` based on issues found previously in `ambari-server` due to version mismatch.\r\n\r\n## How was this patch tested?\r\n\r\nLatest unit test results in 'ambari-metrics/ambari-metrics-timelineservice`:\r\n```\r\n[INFO] ------------------------------------------------------------------------\r\n[INFO] BUILD SUCCESS\r\n[INFO] ------------------------------------------------------------------------\r\n[INFO] Total time: 12:54 min\r\n[INFO] Finished at: 2018-05-08T16:39:52+02:00\r\n[INFO] Final Memory: 78M/667M\r\n[INFO] ------------------------------------------------------------------------\r\n```\r\n\r\nMaven's dependency resolution:\r\n```\r\nHW15069:ambari-metrics-timelineservice smolnar$ mvn dependency:tree -Dincludes=com.fasterxml.jackson.core:jackson-databind -Dverbose=true\r\n[INFO] Scanning for projects...\r\n[INFO] \r\n[INFO] ------------------------------------------------------------------------\r\n[INFO] Building Ambari Metrics Collector 2.0.0.0-SNAPSHOT\r\n[INFO] ------------------------------------------------------------------------\r\n[INFO] \r\n[INFO] --- maven-dependency-plugin:2.8:tree (default-cli) @ ambari-metrics-timelineservice ---\r\n[INFO] org.apache.ambari:ambari-metrics-timelineservice:jar:2.0.0.0-SNAPSHOT\r\n[INFO] \\- com.fasterxml.jackson.core:jackson-databind:jar:2.9.5:compile\r\n[INFO] ------------------------------------------------------------------------\r\n[INFO] BUILD SUCCESS\r\n[INFO] ------------------------------------------------------------------------\r\n[INFO] Total time: 9.092 s\r\n[INFO] Finished at: 2018-05-08T16:56:51+02:00\r\n[INFO] Final Memory: 60M/1515M\r\n[INFO] ------------------------------------------------------------------------\r\n```\r\n\r\nIn addition to this the following integrration test steps were executed:\r\n\r\n1. installed a cluster with AMS\r\n2. built `ambari-metrics/ambari-metrics-timelineservice`\r\n3. stopped Metrics Collector\r\n4. replace the content of `/usr/lib/ambari-metrics-collector` with `$AMBARI_PROJECT_HOME/ambari/ambari-metrics/ambari-metrics-timelineservice/target/lib/*.jar`\r\n5. started Metrics Collector without any issue; went to `Ambari Metrics -> Metrics` tab where I can see data"},"comment":{"url":"https://api.github.com/repos/apache/ambari/issues/comments/387557973","html_url":"https://github.com/apache/ambari/pull/1211#issuecomment-387557973","issue_url":"https://api.github.com/repos/apache/ambari/issues/1211","id":387557973,"user":{"login":"asfgit","id":1341245,"avatar_url":"https://avatars1.githubusercontent.com/u/1341245?v=4","gravatar_id":"","url":"https://api.github.com/users/asfgit","html_url":"https://github.com/asfgit","followers_url":"https://api.github.com/users/asfgit/followers","following_url":"https://api.github.com/users/asfgit/following{/other_user}","gists_url":"https://api.github.com/users/asfgit/gists{/gist_id}","starred_url":"https://api.github.com/users/asfgit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asfgit/subscriptions","organizations_url":"https://api.github.com/users/asfgit/orgs","repos_url":"https://api.github.com/users/asfgit/repos","events_url":"https://api.github.com/users/asfgit/events{/privacy}","received_events_url":"https://api.github.com/users/asfgit/received_events","type":"User","site_admin":false},"created_at":"2018-05-08T22:08:21Z","updated_at":"2018-05-08T22:08:21Z","author_association":"NONE","body":"\nRefer to this link for build results (access rights to CI server needed): \nhttps://builds.apache.org/job/Ambari-Github-PullRequest-Builder/2188/\nTest PASSed.\n"}}
{"actor":{"display_login":"asfgit"}}