回复:I hava a problem install hdp2.1 with ambari on rhel 6.2

2014-07-29 Thread 过路人
But these packages exists alreary in my rhel6.2.


-- 原始邮件 --
发件人: "过路人";;
发送时间: 2014年7月30日(星期三) 中午11:39
收件人: "user"; 

主题: I hava a problem install hdp2.1 with ambari on rhel 6.2



Hi,all,
   I install hdp2.1 using ambari 1.6.1 on rhel 6.2.All the other components are 
installed successfuly.
But when install nagios in the last step.I got the error message :

Error: Package: nagios-plugins-1.4.9-1.x86_64 (HDP-UTILS-1.1.0.17)
   Requires: libssl.so.10(libssl.so.10)(64bit)
Error: Package: nagios-plugins-1.4.9-1.x86_64 (HDP-UTILS-1.1.0.17)
   Requires: libcrypto.so.10(libcrypto.so.10)(64bit)
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest‍


I do not know how to do with this.Any body enconter this problems? Can anyone 
help me?
Thanks!

I hava a problem install hdp2.1 with ambari on rhel 6.2

2014-07-29 Thread 过路人
Hi,all,
   I install hdp2.1 using ambari 1.6.1 on rhel 6.2.All the other components are 
installed successfuly.
But when install nagios in the last step.I got the error message :

Error: Package: nagios-plugins-1.4.9-1.x86_64 (HDP-UTILS-1.1.0.17)
   Requires: libssl.so.10(libssl.so.10)(64bit)
Error: Package: nagios-plugins-1.4.9-1.x86_64 (HDP-UTILS-1.1.0.17)
   Requires: libcrypto.so.10(libcrypto.so.10)(64bit)
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest‍


I do not know how to do with this.Any body enconter this problems? Can anyone 
help me?
Thanks!

Re: RestAPI for pushing a configuration to a component in 1.2.4

2014-07-29 Thread Jeff Sposetti
You can also checkout this wiki page on Ambari Stacks. The "Custom Client
Service" example might be worth looking at...

https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=38571133


On Tue, Jul 29, 2014 at 4:11 PM, Siddharth Wagle 
wrote:

> Correct URL:
>
>
> https://github.com/apache/ambari/blob/trunk/ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HDFS/package/scripts/hdfs.py
>
> -Sid
>
>
> On Tue, Jul 29, 2014 at 1:07 PM, Siddharth Wagle 
> wrote:
>
>> You can create a config and attach it to any service and thereby a host
>> component. The config will be sent to the host on any execution command,
>> example: START/STOP.
>>
>> However, you would need to add a small snippet of code (4 lines) for the
>> configuration to be applied on the host. Take a look at the XMLConfig
>> element here,
>> https://github.com/hortonworks/ambari/blob/apache-ref/trunk/ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HDFS/package/scripts/hdfs.py
>>
>> The the automated mechanism is a good idea. Maybe you can open a Jira for
>> the same. Although, it is probably easier to change the stack definition
>> for a quicker resolution if so desired.
>>
>> -Sid
>>
>> On Tue, Jul 29, 2014 at 12:42 PM, Aaron Cody 
>> wrote:
>>
>>>
>>>  is there any mechanism available (preferably a REST call) to push an
>>> arbitrary file out to a host or hosts in the cluster?
>>>
>>
>>
>
> CONFIDENTIALITY NOTICE
> NOTICE: This message is intended for the use of the individual or entity
> to which it is addressed and may contain information that is confidential,
> privileged and exempt from disclosure under applicable law. If the reader
> of this message is not the intended recipient, you are hereby notified that
> any printing, copying, dissemination, distribution, disclosure or
> forwarding of this communication is strictly prohibited. If you have
> received this communication in error, please contact the sender immediately
> and delete it from your system. Thank You.

-- 
CONFIDENTIALITY NOTICE
NOTICE: This message is intended for the use of the individual or entity to 
which it is addressed and may contain information that is confidential, 
privileged and exempt from disclosure under applicable law. If the reader 
of this message is not the intended recipient, you are hereby notified that 
any printing, copying, dissemination, distribution, disclosure or 
forwarding of this communication is strictly prohibited. If you have 
received this communication in error, please contact the sender immediately 
and delete it from your system. Thank You.


Re: RestAPI for pushing a configuration to a component in 1.2.4

2014-07-29 Thread Siddharth Wagle
Correct URL:

https://github.com/apache/ambari/blob/trunk/ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HDFS/package/scripts/hdfs.py

-Sid


On Tue, Jul 29, 2014 at 1:07 PM, Siddharth Wagle 
wrote:

> You can create a config and attach it to any service and thereby a host
> component. The config will be sent to the host on any execution command,
> example: START/STOP.
>
> However, you would need to add a small snippet of code (4 lines) for the
> configuration to be applied on the host. Take a look at the XMLConfig
> element here,
> https://github.com/hortonworks/ambari/blob/apache-ref/trunk/ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HDFS/package/scripts/hdfs.py
>
> The the automated mechanism is a good idea. Maybe you can open a Jira for
> the same. Although, it is probably easier to change the stack definition
> for a quicker resolution if so desired.
>
> -Sid
>
> On Tue, Jul 29, 2014 at 12:42 PM, Aaron Cody  wrote:
>
>>
>>  is there any mechanism available (preferably a REST call) to push an
>> arbitrary file out to a host or hosts in the cluster?
>>
>
>

-- 
CONFIDENTIALITY NOTICE
NOTICE: This message is intended for the use of the individual or entity to 
which it is addressed and may contain information that is confidential, 
privileged and exempt from disclosure under applicable law. If the reader 
of this message is not the intended recipient, you are hereby notified that 
any printing, copying, dissemination, distribution, disclosure or 
forwarding of this communication is strictly prohibited. If you have 
received this communication in error, please contact the sender immediately 
and delete it from your system. Thank You.


Re: RestAPI for pushing a configuration to a component in 1.2.4

2014-07-29 Thread Siddharth Wagle
You can create a config and attach it to any service and thereby a host
component. The config will be sent to the host on any execution command,
example: START/STOP.

However, you would need to add a small snippet of code (4 lines) for the
configuration to be applied on the host. Take a look at the XMLConfig
element here,
https://github.com/hortonworks/ambari/blob/apache-ref/trunk/ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HDFS/package/scripts/hdfs.py

The the automated mechanism is a good idea. Maybe you can open a Jira for
the same. Although, it is probably easier to change the stack definition
for a quicker resolution if so desired.

-Sid

On Tue, Jul 29, 2014 at 12:42 PM, Aaron Cody  wrote:

>
>  is there any mechanism available (preferably a REST call) to push an
> arbitrary file out to a host or hosts in the cluster?
>

-- 
CONFIDENTIALITY NOTICE
NOTICE: This message is intended for the use of the individual or entity to 
which it is addressed and may contain information that is confidential, 
privileged and exempt from disclosure under applicable law. If the reader 
of this message is not the intended recipient, you are hereby notified that 
any printing, copying, dissemination, distribution, disclosure or 
forwarding of this communication is strictly prohibited. If you have 
received this communication in error, please contact the sender immediately 
and delete it from your system. Thank You.


Re: RestAPI for pushing a configuration to a component in 1.2.4

2014-07-29 Thread Aaron Cody

is there any mechanism available (preferably a REST call) to push an arbitrary 
file out to a host or hosts in the cluster?