You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lens.apache.org by pr...@apache.org on 2016/08/30 11:45:09 UTC
lens git commit: LENS-1288: example-job.xml in example schema isn't
up to date with recent xsd changes
Repository: lens
Updated Branches:
refs/heads/master 2e56643b8 -> 471fd9020
LENS-1288: example-job.xml in example schema isn't up to date with recent xsd changes
Project: http://git-wip-us.apache.org/repos/asf/lens/repo
Commit: http://git-wip-us.apache.org/repos/asf/lens/commit/471fd902
Tree: http://git-wip-us.apache.org/repos/asf/lens/tree/471fd902
Diff: http://git-wip-us.apache.org/repos/asf/lens/diff/471fd902
Branch: refs/heads/master
Commit: 471fd902077540c153ed4c86d43ab4784aac4654
Parents: 2e56643
Author: Lavkesh Lahngir <la...@linux.com>
Authored: Tue Aug 30 17:14:21 2016 +0530
Committer: Rajat Khandelwal <ra...@gmail.com>
Committed: Tue Aug 30 17:14:21 2016 +0530
----------------------------------------------------------------------
lens-examples/src/main/resources/example-job.xml | 9 ++++++++-
lens-examples/src/test/resources/yaml/example-job.yaml | 8 +++++++-
2 files changed, 15 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/lens/blob/471fd902/lens-examples/src/main/resources/example-job.xml
----------------------------------------------------------------------
diff --git a/lens-examples/src/main/resources/example-job.xml b/lens-examples/src/main/resources/example-job.xml
index 3fb9be8..55f0906 100644
--- a/lens-examples/src/main/resources/example-job.xml
+++ b/lens-examples/src/main/resources/example-job.xml
@@ -29,7 +29,14 @@
<key>userName</key>
<value>ajayyadava</value>
</conf>
- <resource_path>/path/to/a/resource/</resource_path>
+ <resource_path>
+ <path>/tmp/myjars/example.jar</path>
+ <type>JAR</type>
+ </resource_path>
+ <resource_path>
+ <path>/tmp/myjars/example.conf</path>
+ <type>FILE</type>
+ </resource_path>
</session>
<query>
<query>cube select measure2 from sample_cube where time_range_in(dt, '2014-06-24-23', '2014-06-25-00')</query>
http://git-wip-us.apache.org/repos/asf/lens/blob/471fd902/lens-examples/src/test/resources/yaml/example-job.yaml
----------------------------------------------------------------------
diff --git a/lens-examples/src/test/resources/yaml/example-job.yaml b/lens-examples/src/test/resources/yaml/example-job.yaml
index 62788bb..dfa381d 100644
--- a/lens-examples/src/test/resources/yaml/example-job.yaml
+++ b/lens-examples/src/test/resources/yaml/example-job.yaml
@@ -21,7 +21,13 @@ execution:
-
key: userName
value: ajayyadava
- resourcePath: /path/to/a/resource/
+ resourcePath:
+ -
+ path: /tmp/myjars/example.jar
+ type: JAR
+ -
+ path: /tmp/myjars/example.conf
+ type: FILE
query:
query: cube select measure2 from sample_cube where time_range_in(dt, '2014-06-24-23', '2014-06-25-00')
conf: