From dev-return-16850-apmail-atlas-dev-archive=atlas.apache.org@atlas.apache.org Mon Aug 14 15:04:05 2017 Return-Path: X-Original-To: apmail-atlas-dev-archive@minotaur.apache.org Delivered-To: apmail-atlas-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 860A8193BA for ; Mon, 14 Aug 2017 15:04:05 +0000 (UTC) Received: (qmail 50238 invoked by uid 500); 14 Aug 2017 15:04:05 -0000 Delivered-To: apmail-atlas-dev-archive@atlas.apache.org Received: (qmail 50176 invoked by uid 500); 14 Aug 2017 15:04:04 -0000 Mailing-List: contact dev-help@atlas.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@atlas.apache.org Delivered-To: mailing list dev@atlas.apache.org Received: (qmail 50165 invoked by uid 99); 14 Aug 2017 15:04:04 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Aug 2017 15:04:04 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id A33561A0AA7 for ; Mon, 14 Aug 2017 15:04:03 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -100.002 X-Spam-Level: X-Spam-Status: No, score=-100.002 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id Wkeuim2k6GaT for ; Mon, 14 Aug 2017 15:04:02 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 7F5C95FBB0 for ; Mon, 14 Aug 2017 15:04:01 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id AED45E0A32 for ; Mon, 14 Aug 2017 15:04:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 2B4FA21408 for ; Mon, 14 Aug 2017 15:04:00 +0000 (UTC) Date: Mon, 14 Aug 2017 15:04:00 +0000 (UTC) From: "Nigel Jones (JIRA)" To: dev@atlas.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (ATLAS-2012) Docker - image & hub - for Atlas MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/ATLAS-2012?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1612= 5800#comment-16125800 ]=20 Nigel Jones commented on ATLAS-2012: ------------------------------------ Hi Richard,=20 Thanks for posting that patch. I gave it a go under WIndows 10 x64 (with d= ocker installed!) and the build fell over at : Step 6/21 : RUN mkdir -p /usr/java ---> Running in b9952e21fdd7 ---> 5b1b164a474c Removing intermediate container b9952e21fdd7 Step 7/21 : RUN tar xzf *jdk* --strip-components 1 -C /usr/java ---> Running in 98080c6e748e tar (child): *jdk*: Cannot open: No such file or directory tar (child): Error is not recoverable: exiting now tar: Child returned status 2 tar: Error is not recoverable: exiting now The command '/bin/sh -c tar xzf *jdk* --strip-components 1 -C /usr/java' re= turned a non-zero code: 2 C:\src\atlas\dev-support\atlas-docker>dir Volume in drive C is Windows Volume Serial Number is CE3F-3B05 Directory of C:\src\atlas\dev-support\atlas-docker 14/08/2017 13:56 . 14/08/2017 13:56 .. 14/08/2017 13:55 8,534,562 apache-maven-3.5.0-bin (1).tar.gz 14/08/2017 13:51 2,208 Dockerfile 14/08/2017 13:55 207,382,584 jdk-8u144-windows-x64 (1).exe 14/08/2017 13:51 2,857 README.md 4 File(s) 215,922,211 bytes 2 Dir(s) 31,488,966,656 bytes free Just taking a look now, but I also had another thought -- "openjdk" could b= e a better option to use instead of oracle java (pretty much the same anywa= y), and has the benefit of being installing via apt. Similarly maven3 is av= ailable at 3.3.9 - at least with Ubuntu 16.10 I updated the patch to install jdk/maven via APT, and my build progressed w= ell and completed just fine. I was able to login to the Atlas UI. I did get= the hbase shell though didn't need it. Attaching my modified patch > Docker - image & hub - for Atlas > -------------------------------- > > Key: ATLAS-2012 > URL: https://issues.apache.org/jira/browse/ATLAS-2012 > Project: Atlas > Issue Type: New Feature > Reporter: Nigel Jones > Assignee: P=C3=A9ter Gerg=C5=91 Barna > Attachments: atlas_docker.patch > > > Docker is increasingly become a standard way of easily running components= in a flexible manner, whether for development, production, or test > I feel there are a few things we can do with docker that will aid Atlas's= appeal > 1. We could provide a simple example of how to create a docker image from= the Atlas build. This could be published on the wiki & it would make it ea= sier for developers to use Atlas within a docker environment - mostly by ad= dressing how to configure & start up > 2. We could automatically generate a docker image as part of the build pr= ocess. This builds on #1 by automating the creation of the image & making i= t "just part of the build" > 3. We could publish the docker image from #2, for releases, to dockerhub,= making it near trivial for any developer to easily pull down and experimen= t with Atlas. Full source of course would be provided/documented so that a = user could customize as needed for their environment plus of course improve= what is provided with the core project > 4. We could work with other teams especially ranger, to allow similar eff= orts in other teams to easily work together & be orchestrated=20 -- This message was sent by Atlassian JIRA (v6.4.14#64029)