You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@falcon.apache.org by "Kowshick Boddu (JIRA)" <ji...@apache.org> on 2015/12/23 08:17:46 UTC

[jira] [Comment Edited] (FALCON-1690) Falcon

    [ https://issues.apache.org/jira/browse/FALCON-1690?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15069198#comment-15069198 ] 

Kowshick Boddu edited comment on FALCON-1690 at 12/23/15 7:17 AM:
------------------------------------------------------------------

1) I am trying to submit a cluster entity

2)  Below is my cluster definition 
 
<?xml version="1.0" encoding="UTF-8"?>
<cluster xmlns="uri:falcon:cluster:0.1" colo="local" description="Local cluster" name="local">
  <interfaces>
    <interface type="readonly" endpoint="http://xlabdscnnh2.aetnat.com:50090" version="1.1.2"/>
    <interface type="write" endpoint="hdfs://xlabdscnnh1.aetnat.com:8020" version="1.1.2"/>
    <interface type="execute" endpoint="xlabdscnnh2.aetnat.com:8050" version="1.1.2"/>
    <interface type="workflow" endpoint="http://xlabdscnnh2.aetnat.com:11000/oozie/" version="4.0.0"/>
    <interface type="messaging" endpoint="tcp://xlabdscnnh2.aetnat.com:61616" version="5.7.0"/>
  </interfaces>
  <locations>
    <location name="staging" path="/apps/falcon/primary_cluster/staging"/>
    <location name="temp" path="/apps/falcon/tmp"/>
    <location name="working" path="/apps/falcon/primary_cluster/working"/>
  </locations>
    <ACL owner="a754077" group="hdpeng" permission="0755"/>
</cluster>

3) Stack trace:
org.apache.falcon.client.FalconCLIException: Bad Request;Cluster definition missing required namenode credential property: dfs.namenode.kerberos.principal
        at org.apache.falcon.client.FalconCLIException.fromReponse(FalconCLIException.java:44)
        at org.apache.falcon.client.FalconClient.checkIfSuccessful(FalconClient.java:1172)
        at org.apache.falcon.client.FalconClient.sendEntityRequestWithObject(FalconClient.java:694)
        at org.apache.falcon.client.FalconClient.submit(FalconClient.java:323)
        at org.apache.falcon.cli.FalconCLI.entityCommand(FalconCLI.java:364)
        at org.apache.falcon.cli.FalconCLI.run(FalconCLI.java:183)
        at org.apache.falcon.cli.FalconCLI.main(FalconCLI.java:133)
 

On Wed, Dec 23, 2015 at 12:55 AM, pavan kumar kolamuri (JIRA) <ji...@apache.org> wrote:

    [ https://issues.apache.org/jira/browse/FALCON-1690?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15069194#comment-15069194 ]

pavan kumar kolamuri commented on FALCON-1690:
----------------------------------------------

[~b.kowshick@gmail.com] Thanks for raising jira. Can you please add more details to it.
1) What entity you tried to submit (cluster, feed, process)
2) Please attach the definition of entity.
3) Please paste logs from Falcon server.

> Receving the following error on submitting falcon entity. (Using falcon,oozie with kerberose) org.apache.falcon.client.FalconCLIException: Bad Request;Cluster definition missing required namenode credential property: dfs.namenode.kerberos.principal
> ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: FALCON-1690
>                 URL: https://issues.apache.org/jira/browse/FALCON-1690
>             Project: Falcon
>          Issue Type: Bug
>            Reporter: Kowshick Boddu
>
> Error:
> org.apache.falcon.client.FalconCLIException: Bad Request;Cluster definition missing required namenode credential property: dfs.namenode.kerberos.principal
>         at org.apache.falcon.client.FalconCLIException.fromReponse(FalconCLIException.java:44)
>         at org.apache.falcon.client.FalconClient.checkIfSuccessful(FalconClient.java:1172)
>         at org.apache.falcon.client.FalconClient.sendEntityRequestWithObject(FalconClient.java:694)
>         at org.apache.falcon.client.FalconClient.submit(FalconClient.java:323)
>         at org.apache.falcon.cli.FalconCLI.entityCommand(FalconCLI.java:364)
>         at org.apache.falcon.cli.FalconCLI.run(FalconCLI.java:183)
>         at org.apache.falcon.cli.FalconCLI.main(FalconCLI.java:133)






was (Author: b.kowshick@gmail.com):
1) I am trying to submit a cluster entity

2)  Below is my cluster definition 
 
<?xml version="1.0" encoding="UTF-8"?>
<cluster xmlns="uri:falcon:cluster:0.1" colo="local" description="Local cluster" name="local">
  <interfaces>
    <interface type="readonly" endpoint="http://xlabdscnnh2.aetnat.com:50090" version="1.1.2"/>
    <interface type="write" endpoint="hdfs://xlabdscnnh1.aetnat.com:8020" version="1.1.2"/>
    <interface type="execute" endpoint="xlabdscnnh2.aetnat.com:8050" version="1.1.2"/>
    <interface type="workflow" endpoint="http://xlabdscnnh2.aetnat.com:11000/oozie/" version="4.0.0"/>
    <interface type="messaging" endpoint="tcp://xlabdscnnh2.aetnat.com:61616" version="5.7.0"/>
  </interfaces>
  <locations>
    <location name="staging" path="/apps/falcon/primary_cluster/staging"/>
    <location name="temp" path="/apps/falcon/tmp"/>
    <location name="working" path="/apps/falcon/primary_cluster/working"/>
  </locations>
    <ACL owner="a754077" group="hdpeng" permission="0755"/>
</cluster>

3) Stack trace:
org.apache.falcon.client.FalconCLIException: Bad Request;Cluster definition missing required namenode credential property: dfs.namenode.kerberos.principal
        at org.apache.falcon.client.FalconCLIException.fromReponse(FalconCLIException.java:44)
        at org.apache.falcon.client.FalconClient.checkIfSuccessful(FalconClient.java:1172)
        at org.apache.falcon.client.FalconClient.sendEntityRequestWithObject(FalconClient.java:694)
        at org.apache.falcon.client.FalconClient.submit(FalconClient.java:323)
        at org.apache.falcon.cli.FalconCLI.entityCommand(FalconCLI.java:364)
        at org.apache.falcon.cli.FalconCLI.run(FalconCLI.java:183)
        at org.apache.falcon.cli.FalconCLI.main(FalconCLI.java:133)
 

On Wed, Dec 23, 2015 at 12:55 AM, pavan kumar kolamuri (JIRA) <ji...@apache.org> wrote:

    [ https://issues.apache.org/jira/browse/FALCON-1690?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15069194#comment-15069194 ]

pavan kumar kolamuri commented on FALCON-1690:
----------------------------------------------

[~b.kowshick@gmail.com] Thanks for raising jira. Can you please add more details to it.
1) What entity you tried to submit (cluster, feed, process)
2) Please attach the definition of entity.
3) Please paste logs from Falcon server.

> Receving the following error on submitting falcon entity. (Using falcon,oozie with kerberose) org.apache.falcon.client.FalconCLIException: Bad Request;Cluster definition missing required namenode credential property: dfs.namenode.kerberos.principal
> ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: FALCON-1690
>                 URL: https://issues.apache.org/jira/browse/FALCON-1690
>             Project: Falcon
>          Issue Type: Bug
>            Reporter: Kowshick Boddu
>
> Error:
> org.apache.falcon.client.FalconCLIException: Bad Request;Cluster definition missing required namenode credential property: dfs.namenode.kerberos.principal
>         at org.apache.falcon.client.FalconCLIException.fromReponse(FalconCLIException.java:44)
>         at org.apache.falcon.client.FalconClient.checkIfSuccessful(FalconClient.java:1172)
>         at org.apache.falcon.client.FalconClient.sendEntityRequestWithObject(FalconClient.java:694)
>         at org.apache.falcon.client.FalconClient.submit(FalconClient.java:323)
>         at org.apache.falcon.cli.FalconCLI.entityCommand(FalconCLI.java:364)
>         at org.apache.falcon.cli.FalconCLI.run(FalconCLI.java:183)
>         at org.apache.falcon.cli.FalconCLI.main(FalconCLI.java:133)





> Falcon
> ------
>
>                 Key: FALCON-1690
>                 URL: https://issues.apache.org/jira/browse/FALCON-1690
>             Project: Falcon
>          Issue Type: Bug
>            Reporter: Kowshick Boddu
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)