Uploaded image for project: 'Falcon'
  1. Falcon
  2. FALCON-1020

validate command produces different results when run via prism and server

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • trunk
    • 0.6.1
    • client, feed
    • None
    • QA

    Description

      For the feed xml:

      <?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>
      

      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:

      <?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>
      

      Attachments

        1. FALCON-1020-v1.patch
          3 kB
          pavan kumar kolamuri
        2. FALCON-1020.patch
          0.6 kB
          pavan kumar kolamuri

        Activity

          People

            pavan kumar pavan kumar kolamuri
            karishmag9 Karishma Gulati
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: