Return-Path: X-Original-To: apmail-incubator-ambari-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-ambari-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 695CFE11A for ; Mon, 14 Jan 2013 06:11:25 +0000 (UTC) Received: (qmail 33381 invoked by uid 500); 14 Jan 2013 06:11:25 -0000 Delivered-To: apmail-incubator-ambari-dev-archive@incubator.apache.org Received: (qmail 33306 invoked by uid 500); 14 Jan 2013 06:11:23 -0000 Mailing-List: contact ambari-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ambari-dev@incubator.apache.org Delivered-To: mailing list ambari-dev@incubator.apache.org Received: (qmail 33278 invoked by uid 99); 14 Jan 2013 06:11:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Jan 2013 06:11:22 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of yusaku@hortonworks.com designates 209.85.215.51 as permitted sender) Received: from [209.85.215.51] (HELO mail-la0-f51.google.com) (209.85.215.51) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Jan 2013 06:11:15 +0000 Received: by mail-la0-f51.google.com with SMTP id fj20so3480552lab.10 for ; Sun, 13 Jan 2013 22:10:55 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:x-gm-message-state; bh=KWCAIS6gvtUN4UnDT1/jYFEm1z0yswgAc33FGu4WLfM=; b=Aug6GLmFjoQqMSg4JoINka4FCsZLOg2Zd/9pvEoC7B49Sl469xycgId5n79mqRPByX iITzeGrooJSMqJnS02jouZxiQ22TjGisZVIftLVelellkF7UAZ/nHEPAIdKMZmLm2B0A Ah/bE1Sz7Upk6vO0v0t1oKniQkoZ5p/usYds5vLUse2IstQfVET+vFZz6H/i4b3hLXmh ByY+7+EP0quzJNgEfw4CBmt5yqO4QRCJ5HBZUT8Iq8IHKWo5hWKKCgbxXh1UOXAm/vkg uUMj7CAxNx8rEBzOsmaoUOKFk4nyXDVXI77a82qgxIGTnRgZuQiAnK9iF6vrlcUnDg/9 aj0A== MIME-Version: 1.0 Received: by 10.152.109.146 with SMTP id hs18mr72357818lab.8.1358143854956; Sun, 13 Jan 2013 22:10:54 -0800 (PST) Received: by 10.112.3.99 with HTTP; Sun, 13 Jan 2013 22:10:54 -0800 (PST) In-Reply-To: References: Date: Sun, 13 Jan 2013 22:10:54 -0800 Message-ID: Subject: Re: about AMBARI-666 ambari-web not login From: Yusaku Sako To: ambari-dev@incubator.apache.org Content-Type: multipart/alternative; boundary=bcaec54ee776074f2704d339824f X-Gm-Message-State: ALoCoQnV57IMF3CxIO1gkCu4owj328brr4hYlyViRc5E1Cy22N3ArVUbGRbXoPdlNY5s1U5vnTBJ X-Virus-Checked: Checked by ClamAV on apache.org --bcaec54ee776074f2704d339824f Content-Type: text/plain; charset=ISO-8859-1 We will call for a vote on a 1.2.0 release candidate tomorrow (Monday). We will send out a link to the release branch as well as step-by-step instructions on how to deploy a cluster using Ambari. Thanks for your patience. Yusaku On Sun, Jan 13, 2013 at 7:41 PM, jinwei zhu wrote: > Hi,Yusaku, I see you have committed many codes into git trunk repository ( > git://git.apache.org/ambari.git) recently , could I use trunk code to run > ambari? will it work? > By the way, this week , you will release 1.2 ,right? if yes, which day will > it release? > > Thx. > > 2013/1/11 Yusaku Sako > > > Hi Jinwei, > > > > The way you are making a POST call to create a cluster looks correct. > > A successful POST results in HTTP Status Code 201 ("Created"). > > Note that this only creates a Cluster resource, but there are many other > > calls you would need to make in order to install a cluster (for example, > > registering hosts to the cluster, creating services and its components, > > assigning these components to specified hosts, creating and applying > > configurations to the services, initiating installation of the services, > > starting the services, etc). > > > > We are only days away from having a release candidate of Ambari 1.2.0 > > ready. > > I recommend you wait for the release candidate so that you will be able > to > > try installing a cluster via Ambari Web and observe all the API calls it > > makes. > > > > Thanks! > > Yusaku > > > > > > On Thu, Jan 10, 2013 at 7:07 AM, jinwei zhu > wrote: > > > > > HI, Yusaku, since ambari web ui has not worked well, I am trying to > use > > > "httpclient" to send request by rest service , and the request is to > > create > > > a cluster. > > > Here is the java code : > > > String restURL="http://myhostname:8080/api/clusters/mycluster" > > > HttpClient client=new HttpClient(); > > > PostMethod postMethod = new PostMethod(restURL); > > > String body="{\"hostname\":\"myhostname\"}"; > > > postMethod.setRequestBody(body); > > > int statusCode = client.executeMethod(postMethod); > > > System.out.println(postMethod.getResponseBodyAsString()); > > > > > > after running this code, I try getMethod using that restURL, the rest > > > server could return the cluster infomation, but only a litter > infomation. > > > so , I doubt if the http body content is enough and if I missed some > > steps > > > before calling that restURL . Please correct me , thanks. > > > > > > > > > > > > > > > > > > > > > > > > > > > 2013/1/7 Yusaku Sako > > > > > >> Hi Peicheng, > > >> > > >> The documentation that you referred is outdated and you will not be > > >> able to install a cluster if you simply follow it. Sorry about > > >> that... > > >> AMBARI-666 was a development branch for the new, unreleased 1.2.0 > > >> version of Ambari. The code from this branch was merged to trunk > > >> about a month ago. > > >> We will be releasing 1.2.0 shortly (in a week or so) along with > > >> updated documentation. > > >> Please try again when 1.2.0 is released. > > >> > > >> Thanks for your patience! > > >> > > >> Yusaku > > >> > > >> On Sat, Jan 5, 2013 at 6:32 AM, peicheng Liao > > >> wrote: > > >> > Hi all: > > >> > > > >> > I try to install Ambari-666 using the docs. > > >> > > > >> > Ambari-666 Development - Apache Ambari (Incubating) - Apache > Software > > >> Foundation > > >> > > > >> > > > https://cwiki.apache.org/confluence/display/AMBARI/Ambari-666+Development > > >> > > > >> > I start my ambari-server , and I can it use > > >> > > > >> > http://am1:8080/api/check > > >> > staus return "RUNNING" > > >> > > > >> > Next I start ambari-web , > > >> > > > >> > #cd ambari-web > > >> > # brunch w > > >> > but not thing happend > > >> > so I turn on the config.coffee > > >> > > > >> > server: > > >> > port: 3333 > > >> > base: '/' > > >> > run: no > > >> > > > >> > to > > >> > server: > > >> > port: 3333 > > >> > base: '/' > > >> > run: yes > > >> > > > >> > 05 Jan 09:02:16 - info: application started on > http://localhost:3333/ > > >> > > > >> > ===== > > >> > so I try to login the web ( user "admin" password "admin" ), > > >> > I found it sent request to http://am1:3333/api/v1/users/admin > > >> > (am1 is my server hostname,i can connect am1) > > >> > When I try to open the url to check , It return > > >> > "Cannot GET /api/v1/users/admin " > > >> > > > >> > What kind mistake with me ? > > >> > Thank for your help ~ > > >> > > > > > > > > > --bcaec54ee776074f2704d339824f--