falcon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peeyush Bishnoi (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (FALCON-1747) Falcon instance status listing is throwing error message.
Date Wed, 13 Jan 2016 06:30:39 GMT

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

Peeyush Bishnoi edited comment on FALCON-1747 at 1/13/16 6:30 AM:
------------------------------------------------------------------

User got this issue when he tried to get status of instances using Falcon client getStatusOfInstances
API. 
{code:java}
falconClient.getStatusOfInstances(<entity type>, <entity name>,null,null,null,null,null,null,null,0,Integer.MAX_VALUE,<user-name>);
{code}

When I have replicated this issue, even I am getting the error message. For reference, following
is the process entity used:

{code:java}
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<process xmlns="uri:falcon:process:0.1" name="hdfs-replication">
    <tags>_falcon_mirroring_type=HDFS</tags>
    <clusters>
        <cluster name="local">
            <validity start="2015-12-15T00:00Z" end="2016-06-01T00:00Z"/>
        </cluster>
    </clusters>
    <parallel>1</parallel>
    <order>LAST_ONLY</order>
    <frequency>days(360)</frequency>
    <timezone>UTC</timezone>
    <properties>
        <property name="oozie.wf.subworkflow.classpath.inheritance" value="true"/>
        <property name="drSourceClusterFS" value="hdfs://c6001.example.com:8020"/>
        <property name="drSourceDir" value="hdfs://c6001.example.com:8020/tmp/hdfs/source"/>
        <property name="drNotificationReceivers" value="NA"/>
        <property name="distcpMapBandwidth" value="100"/>
        <property name="distcpMaxMaps" value="5"/>
        <property name="drTargetDir" value="/tmp/hdfs/target "/>
        <property name="drTargetClusterFS" value="hdfs://c6001.example.com:8020"/>
    </properties>
    <workflow name="hdfs-dr-workflow" engine="oozie" path="hdfs://c6001.example.com:8020/user/falcon/recipes/hdfs-replication/hdfs-replication-workflow.xml"
lib=""/>
    <retry policy="periodic" delay="minutes(30)" attempts="3"/>
    <notification type="email" to="NA"/>
    <ACL owner="ambari-qa" group="users" permission="0x777"/>
</process>
{code}



was (Author: peeyushb):
User got this issue when he tried to get status of instances using Falcon client getStatusOfInstances
API. When I have replicated this issue, even I am getting the error message. For reference,
following is the process entity used:

{code:java}
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<process xmlns="uri:falcon:process:0.1" name="hdfs-replication">
    <tags>_falcon_mirroring_type=HDFS</tags>
    <clusters>
        <cluster name="local">
            <validity start="2015-12-15T00:00Z" end="2016-06-01T00:00Z"/>
        </cluster>
    </clusters>
    <parallel>1</parallel>
    <order>LAST_ONLY</order>
    <frequency>days(360)</frequency>
    <timezone>UTC</timezone>
    <properties>
        <property name="oozie.wf.subworkflow.classpath.inheritance" value="true"/>
        <property name="drSourceClusterFS" value="hdfs://c6001.example.com:8020"/>
        <property name="drSourceDir" value="hdfs://c6001.example.com:8020/tmp/hdfs/source"/>
        <property name="drNotificationReceivers" value="NA"/>
        <property name="distcpMapBandwidth" value="100"/>
        <property name="distcpMaxMaps" value="5"/>
        <property name="drTargetDir" value="/tmp/hdfs/target "/>
        <property name="drTargetClusterFS" value="hdfs://c6001.example.com:8020"/>
    </properties>
    <workflow name="hdfs-dr-workflow" engine="oozie" path="hdfs://c6001.example.com:8020/user/falcon/recipes/hdfs-replication/hdfs-replication-workflow.xml"
lib=""/>
    <retry policy="periodic" delay="minutes(30)" attempts="3"/>
    <notification type="email" to="NA"/>
    <ACL owner="ambari-qa" group="users" permission="0x777"/>
</process>
{code}


> Falcon instance status listing is throwing error message.
> ---------------------------------------------------------
>
>                 Key: FALCON-1747
>                 URL: https://issues.apache.org/jira/browse/FALCON-1747
>             Project: Falcon
>          Issue Type: Bug
>          Components: prism
>            Reporter: Peeyush Bishnoi
>            Assignee: Peeyush Bishnoi
>             Fix For: trunk
>
>
> When trying to do listing of Falcon instance, following error message appears:
> {code:java}
> ERROR: Bad Request;default/Specified End date 2016-01-12T10:20Z is before the entity
was scheduled 221558424-03-21T20:03Z
> {code}
> Process entity validity start date and end date is valid.
> This issue has been reported by one of the user internally at Hortonworks.



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

Mime
View raw message