Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id A3FA6200C4B for ; Mon, 20 Mar 2017 13:04:51 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id A29B4160B81; Mon, 20 Mar 2017 12:04:51 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id EC07C160B76 for ; Mon, 20 Mar 2017 13:04:50 +0100 (CET) Received: (qmail 87636 invoked by uid 500); 20 Mar 2017 12:04:48 -0000 Mailing-List: contact issues-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ambari.apache.org Delivered-To: mailing list issues@ambari.apache.org Received: (qmail 87627 invoked by uid 99); 20 Mar 2017 12:04:48 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Mar 2017 12:04:48 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 93727C03A7 for ; Mon, 20 Mar 2017 12:04:47 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.451 X-Spam-Level: * X-Spam-Status: No, score=1.451 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_NEUTRAL=0.652] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id 3RH7ZIKfFi8h for ; Mon, 20 Mar 2017 12:04:46 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 1E5405FD00 for ; Mon, 20 Mar 2017 12:04:46 +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 0756FE0502 for ; Mon, 20 Mar 2017 12:04:41 +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 9733C254CB for ; Mon, 20 Mar 2017 12:04:41 +0000 (UTC) Date: Mon, 20 Mar 2017 12:04:41 +0000 (UTC) From: "Andrew Onischuk (JIRA)" To: issues@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (AMBARI-20404) Enhance error message for invalid chars in properties/values MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 20 Mar 2017 12:04:51 -0000 [ https://issues.apache.org/jira/browse/AMBARI-20404?page=3Dcom.atlass= ian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrew Onischuk updated AMBARI-20404: ------------------------------------- Fix Version/s: 3.0.0 > Enhance error message for invalid chars in properties/values > ------------------------------------------------------------ > > Key: AMBARI-20404 > URL: https://issues.apache.org/jira/browse/AMBARI-20404 > Project: Ambari > Issue Type: Bug > Affects Versions: 2.5.0 > Reporter: Yesha Vora > Assignee: Andrew Onischuk > Fix For: 3.0.0 > > Attachments: AMBARI-20404.patch > > > Scenario: > * Added below configs to spark2 default > {code} > spark.io.encryption.enabled =3D true > spark.io.encryption.keySizeBits =3D 128 > spark.io.encryption.keygen.algorithm =3D HmacSHA1=E2=80=8B {code} > * Restart affected services.=20 > Spark2-client is failing to restart with below error. > {code:title=3Dstderr} > Traceback (most recent call last): > File "/var/lib/ambari-agent/cache/common-services/SPARK2/2.0.0/package/= scripts/spark_client.py", line 60, in > SparkClient().execute() > File "/usr/lib/python2.6/site-packages/resource_management/libraries/sc= ript/script.py", line 313, in execute > method(env) > File "/usr/lib/python2.6/site-packages/resource_management/libraries/sc= ript/script.py", line 721, in restart > self.install(env) > File "/var/lib/ambari-agent/cache/common-services/SPARK2/2.0.0/package/= scripts/spark_client.py", line 36, in install > self.configure(env) > File "/usr/lib/python2.6/site-packages/resource_management/libraries/sc= ript/script.py", line 116, in locking_configure > original_configure(obj, *args, **kw) > File "/var/lib/ambari-agent/cache/common-services/SPARK2/2.0.0/package/= scripts/spark_client.py", line 42, in configure > setup_spark(env, 'client', upgrade_type=3Dupgrade_type, action =3D 'c= onfig') > File "/var/lib/ambari-agent/cache/common-services/SPARK2/2.0.0/package/= scripts/setup_spark.py", line 56, in setup_spark > mode=3D0644 > File "/usr/lib/python2.6/site-packages/resource_management/core/base.py= ", line 155, in __init__ > self.env.run() > File "/usr/lib/python2.6/site-packages/resource_management/core/environ= ment.py", line 160, in run > self.run_action(resource, action) > File "/usr/lib/python2.6/site-packages/resource_management/core/environ= ment.py", line 124, in run_action > provider_action() > File "/usr/lib/python2.6/site-packages/resource_management/libraries/pr= oviders/properties_file.py", line 54, in action_create > mode =3D self.resource.mode > File "/usr/lib/python2.6/site-packages/resource_management/core/base.py= ", line 155, in __init__ > self.env.run() > File "/usr/lib/python2.6/site-packages/resource_management/core/environ= ment.py", line 160, in run > self.run_action(resource, action) > File "/usr/lib/python2.6/site-packages/resource_management/core/environ= ment.py", line 124, in run_action > provider_action() > File "/usr/lib/python2.6/site-packages/resource_management/core/provide= rs/system.py", line 123, in action_create > content =3D self._get_content() > File "/usr/lib/python2.6/site-packages/resource_management/core/provide= rs/system.py", line 160, in _get_content > return content() > File "/usr/lib/python2.6/site-packages/resource_management/core/source.= py", line 52, in __call__ > return self.get_content() > File "/usr/lib/python2.6/site-packages/resource_management/core/source.= py", line 143, in get_content > rendered =3D self.template.render(self.context) > File "/usr/lib/python2.6/site-packages/ambari_jinja2/environment.py", l= ine 891, in render > return self.environment.handle_exception(exc_info, True) > File "