ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alejandro Fernandez (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AMBARI-10743) Falcon process submission fails due to expression language missing function called currentWeek
Date Wed, 08 Jul 2015 20:46:05 GMT

     [ https://issues.apache.org/jira/browse/AMBARI-10743?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Alejandro Fernandez updated AMBARI-10743:
-----------------------------------------
    Attachment:     (was: AMBARI-10743.additional.branch-2.1.patch)

> Falcon process submission fails due to expression language missing function called currentWeek
> ----------------------------------------------------------------------------------------------
>
>                 Key: AMBARI-10743
>                 URL: https://issues.apache.org/jira/browse/AMBARI-10743
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 2.1.0
>            Reporter: Alejandro Fernandez
>            Assignee: Alejandro Fernandez
>             Fix For: 2.1.0
>
>         Attachments: AMBARI-10743.additional.branch-2.1.patch, AMBARI-10743.additional.patch,
AMBARI-10743.patch
>
>
> Falcon process submission fails. Oozie logs shows problem with evaluation of expression
${now(0,-1)}.
> {code}
> 2015-04-15 14:32:13,978 INFO  - [pool-4-thread-1:testProcessLateRerunOnEmptyFolder] ~
Submitting process: 
> <?xml version="1.0" encoding="UTF-8"?><process xmlns="uri:falcon:process:0.1"
name="ProcessLateRerunTest--agregator-coord16-ce15371f">
>     <clusters>
>         <cluster name="ProcessLateRerunTest--corp-0448f873">
>             <validity start="2015-04-15T14:32Z" end="2015-04-15T15:02Z"/>
>         </cluster>
>     </clusters>
>     <parallel>2</parallel>
>     <order>FIFO</order>
>     <frequency>minutes(10)</frequency>
>     <timezone>UTC</timezone>
>     <inputs>
>         <input name="inputData" feed="ProcessLateRerunTest--raaw-logs16-66de49a3"
start="now(0,-1)" end="now(0,0)"/>
>     </inputs>
>     <outputs>
>         <output name="outputData" feed="ProcessLateRerunTest--agregated-logs16-9d5b63f9"
instance="now(0,0)"/>
>     </outputs>
>     <properties>
>         <property name="queueName" value="default"/>
>     </properties>
>     <workflow path="/tmp/falcon-regression/ProcessLateRerunTest/aggregator"/>
>     <retry policy="periodic" delay="minutes(10)" attempts="3"/>
>     <late-process policy="periodic" delay="minutes(2)">
>         <late-input input="inputData" workflow-path="/tmp/falcon-regression/ProcessLateRerunTest/aggregator"/>
>     </late-process>
>     <ACL owner="hrt_qa" group="users" permission="*"/>
> </process>
>  (AbstractEntityHelper:317)
> 2015-04-15 14:32:13,979 INFO  - [pool-4-thread-1:testProcessLateRerunOnEmptyFolder] ~
Request Url: http://os-amb-r6-us-1429089624-falcon-2-6.novalocal:15000/api/entities/submitAndSchedule/process?user.name=hrt_qa
(BaseRequest:166)
> 2015-04-15 14:32:13,979 INFO  - [pool-4-thread-1:testProcessLateRerunOnEmptyFolder] ~
Request Method: POST (BaseRequest:167)
> 2015-04-15 14:32:13,980 INFO  - [pool-4-thread-1:testProcessLateRerunOnEmptyFolder] ~
Request Header: Name=Content-Type Value=text/xml (BaseRequest:170)
> 2015-04-15 14:32:13,980 INFO  - [pool-4-thread-1:testProcessLateRerunOnEmptyFolder] ~
Request Header: Name=Cookie Value=hadoop.auth="u=hrt_qa&p=hrt_qa&t=simple&e=1429144301747&s=8WeN5SfnOVMSk9D652MVcJQ3qM8="
(BaseRequest:170)
> 2015-04-15 14:32:16,373 INFO  - [pool-4-thread-1:testProcessLateRerunOnEmptyFolder] ~
Response Status: HTTP/1.1 400 Bad Request (BaseRequest:196)
> 2015-04-15 14:32:16,374 INFO  - [pool-4-thread-1:testProcessLateRerunOnEmptyFolder] ~
Response Header: Name=Content-Type Value=text/xml (BaseRequest:198)
> 2015-04-15 14:32:16,374 INFO  - [pool-4-thread-1:testProcessLateRerunOnEmptyFolder] ~
Response Header: Name=requestId Value=4a37a294-0337-4a5a-8eb2-f61281dce001 (BaseRequest:198)
> 2015-04-15 14:32:16,374 INFO  - [pool-4-thread-1:testProcessLateRerunOnEmptyFolder] ~
Response Header: Name=Content-Length Value=288 (BaseRequest:198)
> 2015-04-15 14:32:16,375 INFO  - [pool-4-thread-1:testProcessLateRerunOnEmptyFolder] ~
Response Header: Name=Server Value=Jetty(6.1.26) (BaseRequest:198)
> Warning:  org.apache.xerces.parsers.SAXParser: Property 'http://javax.xml.XMLConstants/property/accessExternalDTD'
is not recognized.
> Warning:  org.apache.xerces.parsers.SAXParser: Property 'http://www.oracle.com/xml/jaxp/properties/entityExpansionLimit'
is not recognized.
> 2015-04-15 14:32:16,379 INFO  - [pool-4-thread-1:testProcessLateRerunOnEmptyFolder] ~
The web service response is:
> <?xml version="1.0" encoding="UTF-8"?><result>
>   <status>FAILED</status>
>   <message>Entity schedule failed for process: ProcessLateRerunTest--agregator-coord16-ce15371f</message>
>   <requestId>1490991917@qtp-1097812196-86 - 4a37a294-0337-4a5a-8eb2-f61281dce001</requestId>
> </result>
>  (ServiceResponse:77)
> {code}



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

Mime
View raw message