falcon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Karishma Gulati (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FALCON-1020) validate command produces different results when run via prism and server
Date Wed, 11 Feb 2015 12:42:12 GMT
Karishma Gulati created FALCON-1020:
---------------------------------------

             Summary: validate command produces different results when run via prism and server
                 Key: FALCON-1020
                 URL: https://issues.apache.org/jira/browse/FALCON-1020
             Project: Falcon
          Issue Type: Bug
          Components: client, feed
    Affects Versions: trunk
         Environment: QA
            Reporter: Karishma Gulati


For the feed xml:

{code}
<?xml version="1.0" encoding="UTF-8"?>
<!--
  Licensed to the Apache Software Foundation (ASF) under one
  or more contributor license agreements.  See the NOTICE file
  distributed with this work for additional information
  regarding copyright ownership.  The ASF licenses this file
  to you under the Apache License, Version 2.0 (the
  "License"); you may not use this file except in compliance
  with the License.  You may obtain a copy of the License at

      http://www.apache.org/licenses/LICENSE-2.0

  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions and
  limitations under the License.
  -->
<feed description="clicks log" name="raaw-logs16" xmlns="uri:falcon:feed:0.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
   <partitions>
        <partition name="country" />
        <partition name="colo" />
    </partitions>
<!--
    <groups>online,bi</groups>-->

    <frequency>minutes(20)</frequency>
    <timezone>UTC</timezone>
    <late-arrival cut-off="hours(6)" />

    <clusters>
        <cluster name="corp" type="source">
            <validity start="2009-02-01T00:00Z" end="2099-05-01T00:00Z"
     />
            <retention limit="months(9000)" action="delete" /> <!-- Limit can be
in Time or Instances 100, Action ENUM DELETE,ARCHIVE -->
        </cluster>
    </clusters>

    <locations>
        <location type="data" path="/test/input-data/rawLogs/${YEAR}/${MONTH}/${DAY}/${HOUR}/${MINUTE}"
/>
        <location type="stats" path="" />
        <location type="meta" path="/projects/falcon/clicksMetaData" />
    </locations>
    
    <ACL owner="testuser" group="group" permission="0x755" />
    <schema location="/schema/clicks" provider="protobuf" />

    <properties>
        <property name="field1" value="value1" />
        <property name="field2" value="value2" />
    </properties>
</feed>
{code}

When validate (via api) is run on prism, the feed is successfully validated. However when
the same feed is validated via server, it fails with the following error:

{code}
<?xml version="1.0" encoding="UTF-8"?><result>
  <status>FAILED</status>
  <message>Can not create a Path from an empty string</message>
  <requestId>499485003@qtp-1777432937-29 - 150b8abd-fc05-450b-af3f-896d83286520</requestId>
</result>
{code}



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

Mime
View raw message