Return-Path: X-Original-To: apmail-ambari-user-archive@www.apache.org Delivered-To: apmail-ambari-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id EFD90184B0 for ; Wed, 18 Nov 2015 18:44:58 +0000 (UTC) Received: (qmail 18216 invoked by uid 500); 18 Nov 2015 18:44:58 -0000 Delivered-To: apmail-ambari-user-archive@ambari.apache.org Received: (qmail 18183 invoked by uid 500); 18 Nov 2015 18:44:58 -0000 Mailing-List: contact user-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@ambari.apache.org Delivered-To: mailing list user@ambari.apache.org Received: (qmail 18173 invoked by uid 99); 18 Nov 2015 18:44:58 -0000 Received: from Unknown (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Nov 2015 18:44:58 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 52878180185 for ; Wed, 18 Nov 2015 18:44:58 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 5 X-Spam-Level: ***** X-Spam-Status: No, score=5 tagged_above=-999 required=6.31 tests=[FSL_HELO_BARE_IP_2=1.999, HTML_MESSAGE=3, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-us-east.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id vSV_BMeEVdLu for ; Wed, 18 Nov 2015 18:44:43 +0000 (UTC) Received: from relayvx12c.securemail.intermedia.net (relayvx12c.securemail.intermedia.net [64.78.52.187]) by mx1-us-east.apache.org (ASF Mail Server at mx1-us-east.apache.org) with ESMTPS id 6634D42B60 for ; Wed, 18 Nov 2015 18:44:43 +0000 (UTC) Received: from securemail.intermedia.net (localhost [127.0.0.1]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by emg-ca-1-2.localdomain (Postfix) with ESMTPS id 8862553E33; Wed, 18 Nov 2015 10:44:42 -0800 (PST) Subject: Re: Error while running services from Ambari MIME-Version: 1.0 x-echoworx-msg-id: 6b732b38-bf94-4c6c-8edc-35fc476d4b48 x-echoworx-emg-received: Wed, 18 Nov 2015 10:44:42.433 -0800 x-echoworx-action: delivered Received: from 10.254.155.17 ([10.254.155.17]) by emg-ca-1-2 (JAMES SMTP Server 2.3.2) with SMTP ID 258; Wed, 18 Nov 2015 10:44:42 -0800 (PST) Received: from MBX080-W4-CO-2.exch080.serverpod.net (unknown [10.224.117.102]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by emg-ca-1-2.localdomain (Postfix) with ESMTPS id 3390753EAF; Wed, 18 Nov 2015 10:44:42 -0800 (PST) Received: from MBX080-W4-CO-1.exch080.serverpod.net (10.224.117.101) by MBX080-W4-CO-2.exch080.serverpod.net (10.224.117.102) with Microsoft SMTP Server (TLS) id 15.0.1130.7; Wed, 18 Nov 2015 10:44:41 -0800 Received: from MBX080-W4-CO-1.exch080.serverpod.net ([10.224.117.101]) by mbx080-w4-co-1.exch080.serverpod.net ([10.224.117.101]) with mapi id 15.00.1130.005; Wed, 18 Nov 2015 10:44:41 -0800 From: Alejandro Fernandez To: "user@ambari.apache.org" , "write2kishore@gmail.com" Thread-Topic: Error while running services from Ambari Thread-Index: AQHRIgDqYNH7NJu/ukKQzsWLhF7ADp6iHlqA Date: Wed, 18 Nov 2015 18:44:40 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/14.4.4.140807 x-ms-exchange-messagesentrepresentingtype: 1 x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [192.175.27.10] x-source-routing-agent: Processed Content-Type: multipart/alternative; boundary="_000_D27205FF497AAafernandezhortonworkscom_" --_000_D27205FF497AAafernandezhortonworkscom_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable One of your properties is missing/empty. E.g., hdfs-site : dfs.cluster.administrators cluster-env : user_group ranger_env : ranger_group hadoop-env : proxyuser_group knox-env : knox_group spark-env : spark_group ... You can disable this feature by setting this property to True, cluster-env : ignore_groupsusers_create Thanks, Alejandro From: Krishna Kishore Bonagiri > Reply-To: "user@ambari.apache.org" > Date: Wednesday, November 18, 2015 at 4:58 AM To: "user@ambari.apache.org" > Subject: Error while running services from Ambari Hi, Please see if you can help me resolve this issue. I am getting this error= when trying to start services (for ex. the name node) from Ambari. Looks l= ike the group name is going as None/null object, and causing this error. Bu= t I don't know why is the group name becoming Null. 2015-11-17 02:00:44,241 - Error while executing command 'any': Traceback (most recent call last): File "/usr/lib/python2.6/site-packages/resource_management/libraries/scri= pt/script.py", line 123, in execute method(env) File "/var/lib/ambari-agent/cache/stacks/BigInsights/4.0/hooks/before-ANY= /scripts/hook.py", line 30, in hook setup_users() File "/var/lib/ambari-agent/cache/stacks/BigInsights/4.0/hooks/before-ANY= /scripts/shared_initialization.py", line 68, in setup_users ignore_failures =3D params.ignore_groupsusers_create File "/usr/lib/python2.6/site-packages/resource_management/core/base.py",= line 148, in __init__ self.env.run() File "/usr/lib/python2.6/site-packages/resource_management/core/environme= nt.py", line 149, in run self.run_action(resource, action) File "/usr/lib/python2.6/site-packages/resource_management/core/environme= nt.py", line 115, in run_action provider_action() File "/usr/lib/python2.6/site-packages/resource_management/core/providers= /accounts.py", line 101, in action_create shell.checked_call(command) File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py"= , line 36, in checked_call return _call(command, logoutput, True, cwd, env, preexec_fn, user, wait= _for_finish, timeout, path) File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py"= , line 102, in _call raise Fail(err_msg) Fail: Execution of 'groupadd ''' returned 3. groupadd: '' is not a valid gr= oup name Error: Error: Unable to run the custom hook script ['/usr/bin/python2.6', '= /var/lib/ambari-agent/cache/stacks/BigInsights/4.0/hooks/before-ANY/scripts= /hook.py', 'ANY', '/var/lib/ambari-agent/data/command-1848.json', '/var/lib= /ambari-agent/cache/stacks/BigInsights/4.0/hooks/before-ANY', '/var/lib/amb= ari-agent/data/structured-out-1848.json', 'INFO', '/var/lib/ambari-agent/da= ta/tmp'] Thanks, Kishore --_000_D27205FF497AAafernandezhortonworkscom_ Content-Type: text/html; charset="iso-8859-1" Content-ID: Content-Transfer-Encoding: quoted-printable
One of your properties is missing/empty. E.g.,

hdfs-site : dfs.cluster.administrators
cluster-env : user_group
ranger_env : ranger_group
hadoop-env : proxyuser_group
knox-env : knox_group
spark-env : spark_group


You can disable this feature by setting this property to True,
cluster-env : ignore_groupsusers_create

Thanks,
Alejandro

From: Krishna Kishore Bonagiri <= write2kishore@gmail.com><= br> Reply-To: "user@ambari.apache.org" <user@ambari.apache.org>
Date: Wednesday, November 18, 2015 = at 4:58 AM
To: "user@ambari.apache.org" <user@ambari.apache.org>
Subject: Error while running servic= es from Ambari

Hi,

  Please see if you can help me resolve this issue. I am getting = this error when trying to start services (for ex. the name node) from Ambar= i. Looks like the group name is going as None/null object, and causing this= error. But I don't know why is the group name becoming Null.

2015-11-17 02:00:44,241 - Error while executing command 'any':
Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/resource_management= /libraries/script/script.py", line 123, in execute
    method(env)
  File "/var/lib/ambari-agent/cache/stacks/BigInsights/4.0/h= ooks/before-ANY/scripts/hook.py", line 30, in hook
    setup_users()
  File "/var/lib/ambari-agent/cache/stacks/BigInsights/4.0/h= ooks/before-ANY/scripts/shared_initialization.py", line 68, in setup_u= sers
    ignore_failures =3D params.ignore_groupsusers_create
  File "/usr/lib/python2.6/site-packages/resource_management= /core/base.py", line 148, in __init__
    self.env.run()
  File "/usr/lib/python2.6/site-packages/resource_management= /core/environment.py", line 149, in run
    self.run_action(resource, action)
  File "/usr/lib/python2.6/site-packages/resource_management= /core/environment.py", line 115, in run_action
    provider_action()
  File "/usr/lib/python2.6/site-packages/resource_management= /core/providers/accounts.py", line 101, in action_create
    shell.checked_call(command)
  File "/usr/lib/python2.6/site-packages/resource_management= /core/shell.py", line 36, in checked_call
    return _call(command, logoutput, True, cwd, env, preexec= _fn, user, wait_for_finish, timeout, path)
  File "/usr/lib/python2.6/site-packages/resource_management= /core/shell.py", line 102, in _call
    raise Fail(err_msg)
Fail: Execution of 'groupadd ''' returned 3. groupadd: '' is not a val= id group name
Error: Error: Unable to run the custom hook script ['/usr/bin/python2.= 6', '/var/lib/ambari-agent/cache/stacks/BigInsights/4.0/hooks/before-ANY/sc= ripts/hook.py', 'ANY', '/var/lib/ambari-agent/data/command-1848.json', '/va= r/lib/ambari-agent/cache/stacks/BigInsights/4.0/hooks/before-ANY', '/var/lib/ambari-agent/data/structured-out-1848.json', 'INFO', '/var/lib/a= mbari-agent/data/tmp']

Thanks,
Kishore
--_000_D27205FF497AAafernandezhortonworkscom_--