You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ambari.apache.org by Jeff Zhang <zj...@gmail.com> on 2015/12/28 08:47:08 UTC
which component does topology_script.py belong to ?
I have a machine which only have hadoop/spark client component installed.
When I run spark program on this machine, I will get the following error
but won't get this when I run spark in the data node. So just wondering
which component does topology_script.py belong to ?
--
Best Regards
Jeff Zhang
Re: which component does topology_script.py belong to ?
Posted by Jeff Zhang <zj...@gmail.com>.
The error message disappear now. Find the
file /etc/hadoop/conf/topology_script.py
I suspect topology_script.py is belong to smartsense. Because last night I
install smartsense. And here's the modify date of the configuration files.
I never modify them manually. And you can see some of them are Dec 28 15:23
(when I install hdp without smartsense) while others are Dec 28 21:17 (when
I install smartsense)
-rw-r--r-- 1 hdfs hadoop 2035 Dec 28 15:23 capacity-scheduler.xml
-rw-r--r-- 1 hdfs root 1020 Dec 28 21:17 commons-logging.properties
-rw-r--r-- 1 root hadoop 1120 Dec 28 15:23 container-executor.cfg
-rw-r--r-- 1 hdfs hadoop 2843 Dec 28 15:23 core-site.xml
-rw-r--r-- 1 hdfs hadoop 5335 Dec 28 15:23 hadoop-env.sh
-rw-r--r-- 1 hdfs root 899 Dec 28 21:17 hadoop-metrics2.properties
-rw-r--r-- 1 hdfs hadoop 1308 Dec 28 15:23 hadoop-policy.xml
-rw-r--r-- 1 hdfs hadoop 6705 Dec 28 15:23 hdfs-site.xml
-rw-r--r-- 1 hdfs root 1602 Dec 28 21:17 health_check
-rw-r--r-- 1 hdfs hadoop 9313 Dec 28 21:17 log4j.properties
-rwxr-xr-x 1 hdfs root 856 Dec 28 15:23 mapred-env.sh
-rw-r--r-- 1 mapred hadoop 6531 Dec 28 15:23 mapred-site.xml
drwxr-xr-x 2 root hadoop 4096 Dec 28 15:23 secure
-rw-r--r-- 1 hdfs root 70 Dec 28 15:23 slaves
-rw-r--r-- 1 hdfs hadoop 884 Dec 28 15:23 ssl-client.xml
-rw-r--r-- 1 hdfs hadoop 1000 Dec 28 15:23 ssl-server.xml
-rw-r--r-- 1 hdfs root 945 Dec 28 15:23 taskcontroller.cfg
-rwxr-xr-x 1 root root 4221 Dec 28 21:17 task-log4j.properties
-rw-r--r-- 1 hdfs hadoop 214 Dec 28 21:17 topology_mappings.data
-rwxr-xr-x 1 root root 2358 Dec 28 21:17 topology_script.py
-rwxr-xr-x 1 yarn hadoop 5104 Dec 28 15:23 yarn-env.sh
-rw-r--r-- 1 yarn hadoop 0 Dec 28 15:23 yarn.exclude
-rw-r--r-- 1 yarn hadoop 15715 Dec 28 15:23 yarn-site.xml
On Tue, Dec 29, 2015 at 12:46 AM, Alejandro Fernandez <
afernandez@hortonworks.com> wrote:
> Jeff, are you missing an attachment with the error?
> topology_script.py is used by HDP 2.0.6 and higher whenever starting any
> service.
>
> Thanks,
> Alejandro
>
> From: Jeff Zhang <zj...@gmail.com>
> Reply-To: "user@ambari.apache.org" <us...@ambari.apache.org>
> Date: Sunday, December 27, 2015 at 11:47 PM
> To: "user@ambari.apache.org" <us...@ambari.apache.org>
> Subject: which component does topology_script.py belong to ?
>
> opology_script.py
>
--
Best Regards
Jeff Zhang
Re: which component does topology_script.py belong to ?
Posted by Alejandro Fernandez <af...@hortonworks.com>.
Jeff, are you missing an attachment with the error?
topology_script.py is used by HDP 2.0.6 and higher whenever starting any service.
Thanks,
Alejandro
From: Jeff Zhang <zj...@gmail.com>>
Reply-To: "user@ambari.apache.org<ma...@ambari.apache.org>" <us...@ambari.apache.org>>
Date: Sunday, December 27, 2015 at 11:47 PM
To: "user@ambari.apache.org<ma...@ambari.apache.org>" <us...@ambari.apache.org>>
Subject: which component does topology_script.py belong to ?
opology_script.py