Sowmya Ramesh created FALCON-1421:
-------------------------------------

             Summary: CLI: Falcon entity summary command fails
                 Key: FALCON-1421
                 URL: https://issues.apache.org/jira/browse/FALCON-1421
             Project: Falcon
          Issue Type: Bug
          Components: client
    Affects Versions: 0.7
            Reporter: Sowmya Ramesh


Entity summary CLI fails:
{noformat}
 falcon entity -type process -summary -cluster primaryCluster
ERROR: Bad Request;Current colo (default) is not USWestOregon
{noformat}

Cluster definition:
{noformat}
<?xml version="1.0"?>
<cluster colo="USWestOregon" description="oregonHadoopCluster" 
name="primaryCluster" xmlns="uri:falcon:cluster:0.1">
    <interfaces>
        <interface type="readonly" 
endpoint="hftp://sandbox.hortonworks.com:50070"; version="2.2.0" />
        <interface type="write" endpoint="hdfs://sandbox.hortonworks.com:8020" 
version="2.2.0" />
        <interface type="execute" endpoint="sandbox.hortonworks.com:8050" 
version="2.2.0" />
        <interface type="workflow" 
endpoint="http://sandbox.hortonworks.com:11000/oozie/"; version="4.0.0" />
        <interface type="messaging" 
endpoint="tcp://sandbox.hortonworks.com:61616?daemon=true" version="5.1.6" />
    </interfaces>
    <locations>
        <location name="staging" path="/apps/falcon/primaryCluster/staging" />
        <location name="temp" path="/tmp" />
        <location name="working" path="/apps/falcon/primaryCluster/working" />
    </locations>
</cluster>
{noformat}



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

Reply via email to