You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@griffin.apache.org by Sunil Muniyal <su...@gmail.com> on 2020/09/03 15:01:27 UTC
Griffin Integration with Cloudera Hadoop
Hello,
I am attempting to integrate Griffin with Cloudera Hadoop by following
below article:
https://github.com/apache/griffin/blob/master/griffin-doc/deploy/deploy-guide.md
<https://github.com/apache/griffin/blob/master/griffin-doc/deploy/deploy-guide.md>I
have followed everything as instructed, apart from below things:
1. Using Cloudera Hadoop 5.15 and relevant configurations instead of Apache
Hadoop
2. Not using Elastic search as it is not applicable
3. Did not used Livy as it is not applicable.
Maven build is successful and has got 2 jars at service/target and
measure/target which I have uploaded to HDFS.
However, *starting griffin-service.jar using nohup command* is failing with
below error:
*Caused by: java.lang.IllegalArgumentException: Could not resolve
placeholder 'internal.event.listeners' in string value
"#{'${internal.event.listeners}'.split(',')}"*
* at
org.springframework.util.PropertyPlaceholderHelper.parseStringValue(PropertyPlaceholderHelper.java:174)
~[spring-core-4.3.6.RELEASE.jar!/:4.3.6.RELEASE]*
* at
org.springframework.util.PropertyPlaceholderHelper.replacePlaceholders(PropertyPlaceholderHelper.java:126)
~[spring-core-4.3.6.RELEASE.jar!/:4.3.6.RELEASE]*
* at
org.springframework.core.env.AbstractPropertyResolver.doResolvePlaceholders(AbstractPropertyResolver.java:236)
~[spring-core-4.3.6.RELEASE.jar!/:4.3.6.RELEASE]*
I have tried to search a lot of articles with no luck.
Would be great if someone could help me to fix this.
Also, attached is the output of nohup command that was writtin in
service.out.
Thanks and Regards,
Sunil Muniyal
Re: Griffin Integration with Cloudera Hadoop
Posted by Sunil Muniyal <su...@gmail.com>.
Hi William,
Thank you for the response.
We have already worked together on a different email thread to get this
worked out.
Thanks and Regards,
Sunil Muniyal
On Sun, Sep 27, 2020 at 7:08 AM William Guo <gu...@apache.org> wrote:
> Hi
> Are you correctly build the package?
> In the master branch,
>
> https://github.com/apache/griffin/blob/master/service/src/main/java/org/apache/griffin/core/event/JobEventHook.java
>
> Are this bean and its corresponding configuration packaged into your jar?
>
> # griffin event listener
> internal.event.listeners=GriffinJobEventHook
>
>
>
> Thanks,
> William
>
> On Sun, Sep 6, 2020 at 9:56 PM Sunil Muniyal <su...@gmail.com>
> wrote:
>
>> Hello,
>>
>> I am attempting to integrate Griffin with Cloudera Hadoop by following
>> below article:
>>
>> https://github.com/apache/griffin/blob/master/griffin-doc/deploy/deploy-guide.md
>>
>>
>> <https://github.com/apache/griffin/blob/master/griffin-doc/deploy/deploy-guide.md>I
>> have followed everything as instructed, apart from below things:
>> 1. Using Cloudera Hadoop 5.15 and relevant configurations instead of
>> Apache Hadoop
>> 2. Not using Elastic search as it is not applicable
>> 3. Did not used Livy as it is not applicable.
>>
>> Maven build is successful and has got 2 jars at service/target and
>> measure/target which I have uploaded to HDFS.
>>
>> However, *starting griffin-service.jar using nohup command* is failing
>> with below error:
>> *Caused by: java.lang.IllegalArgumentException: Could not resolve
>> placeholder 'internal.event.listeners' in string value
>> "#{'${internal.event.listeners}'.split(',')}"*
>> * at
>> org.springframework.util.PropertyPlaceholderHelper.parseStringValue(PropertyPlaceholderHelper.java:174)
>> ~[spring-core-4.3.6.RELEASE.jar!/:4.3.6.RELEASE]*
>> * at
>> org.springframework.util.PropertyPlaceholderHelper.replacePlaceholders(PropertyPlaceholderHelper.java:126)
>> ~[spring-core-4.3.6.RELEASE.jar!/:4.3.6.RELEASE]*
>> * at
>> org.springframework.core.env.AbstractPropertyResolver.doResolvePlaceholders(AbstractPropertyResolver.java:236)
>> ~[spring-core-4.3.6.RELEASE.jar!/:4.3.6.RELEASE]*
>>
>> I have tried to search a lot of articles with no luck.
>>
>> Would be great if someone could help me to fix this.
>>
>> Also, attached is the output of nohup command that was writtin in
>> service.out.
>>
>> Thanks and Regards,
>> Sunil Muniyal
>>
>
Re: Griffin Integration with Cloudera Hadoop
Posted by William Guo <gu...@apache.org>.
Hi
Are you correctly build the package?
In the master branch,
https://github.com/apache/griffin/blob/master/service/src/main/java/org/apache/griffin/core/event/JobEventHook.java
Are this bean and its corresponding configuration packaged into your jar?
# griffin event listener
internal.event.listeners=GriffinJobEventHook
Thanks,
William
On Sun, Sep 6, 2020 at 9:56 PM Sunil Muniyal <su...@gmail.com>
wrote:
> Hello,
>
> I am attempting to integrate Griffin with Cloudera Hadoop by following
> below article:
>
> https://github.com/apache/griffin/blob/master/griffin-doc/deploy/deploy-guide.md
>
>
> <https://github.com/apache/griffin/blob/master/griffin-doc/deploy/deploy-guide.md>I
> have followed everything as instructed, apart from below things:
> 1. Using Cloudera Hadoop 5.15 and relevant configurations instead of
> Apache Hadoop
> 2. Not using Elastic search as it is not applicable
> 3. Did not used Livy as it is not applicable.
>
> Maven build is successful and has got 2 jars at service/target and
> measure/target which I have uploaded to HDFS.
>
> However, *starting griffin-service.jar using nohup command* is failing
> with below error:
> *Caused by: java.lang.IllegalArgumentException: Could not resolve
> placeholder 'internal.event.listeners' in string value
> "#{'${internal.event.listeners}'.split(',')}"*
> * at
> org.springframework.util.PropertyPlaceholderHelper.parseStringValue(PropertyPlaceholderHelper.java:174)
> ~[spring-core-4.3.6.RELEASE.jar!/:4.3.6.RELEASE]*
> * at
> org.springframework.util.PropertyPlaceholderHelper.replacePlaceholders(PropertyPlaceholderHelper.java:126)
> ~[spring-core-4.3.6.RELEASE.jar!/:4.3.6.RELEASE]*
> * at
> org.springframework.core.env.AbstractPropertyResolver.doResolvePlaceholders(AbstractPropertyResolver.java:236)
> ~[spring-core-4.3.6.RELEASE.jar!/:4.3.6.RELEASE]*
>
> I have tried to search a lot of articles with no luck.
>
> Would be great if someone could help me to fix this.
>
> Also, attached is the output of nohup command that was writtin in
> service.out.
>
> Thanks and Regards,
> Sunil Muniyal
>
Re: Griffin Integration with Cloudera Hadoop
Posted by William Guo <gu...@apache.org>.
Hi
Are you correctly build the package?
In the master branch,
https://github.com/apache/griffin/blob/master/service/src/main/java/org/apache/griffin/core/event/JobEventHook.java
Are this bean and its corresponding configuration packaged into your jar?
# griffin event listener
internal.event.listeners=GriffinJobEventHook
Thanks,
William
On Sun, Sep 6, 2020 at 9:56 PM Sunil Muniyal <su...@gmail.com>
wrote:
> Hello,
>
> I am attempting to integrate Griffin with Cloudera Hadoop by following
> below article:
>
> https://github.com/apache/griffin/blob/master/griffin-doc/deploy/deploy-guide.md
>
>
> <https://github.com/apache/griffin/blob/master/griffin-doc/deploy/deploy-guide.md>I
> have followed everything as instructed, apart from below things:
> 1. Using Cloudera Hadoop 5.15 and relevant configurations instead of
> Apache Hadoop
> 2. Not using Elastic search as it is not applicable
> 3. Did not used Livy as it is not applicable.
>
> Maven build is successful and has got 2 jars at service/target and
> measure/target which I have uploaded to HDFS.
>
> However, *starting griffin-service.jar using nohup command* is failing
> with below error:
> *Caused by: java.lang.IllegalArgumentException: Could not resolve
> placeholder 'internal.event.listeners' in string value
> "#{'${internal.event.listeners}'.split(',')}"*
> * at
> org.springframework.util.PropertyPlaceholderHelper.parseStringValue(PropertyPlaceholderHelper.java:174)
> ~[spring-core-4.3.6.RELEASE.jar!/:4.3.6.RELEASE]*
> * at
> org.springframework.util.PropertyPlaceholderHelper.replacePlaceholders(PropertyPlaceholderHelper.java:126)
> ~[spring-core-4.3.6.RELEASE.jar!/:4.3.6.RELEASE]*
> * at
> org.springframework.core.env.AbstractPropertyResolver.doResolvePlaceholders(AbstractPropertyResolver.java:236)
> ~[spring-core-4.3.6.RELEASE.jar!/:4.3.6.RELEASE]*
>
> I have tried to search a lot of articles with no luck.
>
> Would be great if someone could help me to fix this.
>
> Also, attached is the output of nohup command that was writtin in
> service.out.
>
> Thanks and Regards,
> Sunil Muniyal
>