[
https://issues.apache.org/jira/browse/KYLIN-672?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15179193#comment-15179193
]
Zhong Yanghong commented on KYLIN-672:
--------------------------------------
One question for two methods in "ProjectManager.java".
"public List<ProjectInstance> findProjects(RealizationType type, String
realizationName)"
and
"private List<ProjectInstance> findProjects(String modelName)"
are for looking for ProjectInstance from cube or model respectively.
Both of their return types are List. However, before creating a cube or model,
the uniqueness has been ensured.
Is there any case that those two methods' return value are more than one
element?
> Add Env and Project Info in job email notification
> --------------------------------------------------
>
> Key: KYLIN-672
> URL: https://issues.apache.org/jira/browse/KYLIN-672
> Project: Kylin
> Issue Type: Improvement
> Reporter: Luke Han
> Assignee: Zhong Yanghong
> Labels: newbie
>
> Add Env and Project information in notification, for example:
> Subject:
> [SUCCESS]-[Kylin Cube Build Job]-[Prod]-[Project_Name]-CubeName
> [FAILED]-[Kylin Cube Build Job]-[Prod]-[Project_Name]-CubeName
> Content:
> Build Result: FAILED
> Job Engine: phxaishdc9en0004.phx.ebay.com
> Env: Prod | QA
> Project: Sample Project
> Cube Name: Sample_Cube
> Start Time: Wed Apr 08 05:46:20 PDT 2015
> Duration: 355mins
> MR Waiting: 62mins
> Last Update Time: Wed Apr 08 14:10:06 PDT 2015
> Submitter: admin
> Error Log:
> * Env's value should coming from Kylin configuration
> * Keep as optional if add Env require too many refactoring.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)