Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7874523
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T02:49:21+00:00 2026-06-03T02:49:21+00:00

In my data processing scenario I have some source data paths that have YY

  • 0

In my data processing scenario I have some source data paths that have “YY” year format:

/user/${user.name}/${YEAR}/${MONTH}/${DAY}/some dataset name_YY

I know it’s a bad design to have ‘YY’ in the end while YEAR is already present in the path but it’s what it’s in our current systems and we can’t afford to change it for a while.

<datasets>
    <dataset name="hourlyds" frequency="${ds_frequency}"
        initial-instance="${ds_initial_instance}" timezone="${ds_timezone}">

        <uri-template>${baseFsURI}/${YEAR}/${MONTH}/${DAY}/alpha_${coord:formatTime(coord:actualTime(),'yy')}</uri-template>
        OR (tried one at a time)
        <uri-template>${baseFsURI}/${YEAR}/${MONTH}/${DAY}/alpha_${coord:formatTime(coord:nominalTime(),'yy')}</uri-template>

        <done-flag>${doneFlag}</done-flag>
    </dataset>
</datasets>

None of the 2 ELs worked. Even one non-nested EL expression without any data name prefix failed:

<uri-template>${baseFsURI}/${YEAR}/${MONTH}/${DAY}/${coord:nominalTime()}</uri-template>

Every time it throws following error:

Error: E1004: Expression language evaluation error [Unable to evaluate :${baseFsURI}/${YEAR}/${MONTH}/${DAY}/${coord:nominalTime()}: ], java.lang.Exception: Unable to evaluate :${baseFsURI}/${YEAR}/${MONTH}/${DAY}/${coord:nominalTime()}:

How do I get this ‘YY’ format in datasets?
Any way other than EL to get it there?

thanks in advance,

rahul

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T02:49:22+00:00Added an answer on June 3, 2026 at 2:49 am

    You can’t put coords in the dataset elements, rather they exist in the input-events or output-events to describe a relation to the current timestamp when formatting the URL using your template url

    Is the path /user/${user.name}/${YEAR}/${MONTH}/${DAY}/some dataset name_YY a file or a directory containing the files?

    If it’s the files themselves then amend your dataset to remove the some dataset name_YY – Hadoop will interpret the ${DAY} folder input as a directory and use all the files in it as your input

    If they are directories and you’re only processing ${DAY} folder at a time AND the ${DAY} folder only contains one directory (some dataset YY), then you can use a wildcard in your action:

      <action>
        <workflow>
          <app-path>${wf_app_path}</app-path>
          <configuration>
              <property>
              <name>wfInput</name>
              <value>${coord:dataIn('input')}/*</value>
            </property>
            <property>
              <name>wfOutput</name>
              <value>${coord:dataOut('output')}</value>
            </property>
          </configuration>
        </workflow>
      </action>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Scenario I have an web application which needs some calculations and processing on data.
I have a lingo script which runs some data processing for a Flash movie.
I have an application that has many threads processing data. As part of this
I have got an ASP page that does some back-end processing. It calls a
I have some data in the following format: 1298501934.311 42.048 1298501934.311 60.096 1298501934.311 64.128
I have a 'producer' object, that steps through some data and emits various signals
I have a pseudo-realtime data processing application where I would like to use LazyInit<double>
I'm working on a loosely coupled cluster for some data processing. The network code
I need ideas for structuring and processing data with revisions. For example, I have
Lets say I need to write several functions processing some data. These functions are

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.