Skip to content

Conversation

@corneadoug
Copy link
Contributor

@corneadoug corneadoug commented Jul 13, 2016

What is this PR for?

It had been pointed out in the mailing list that after #862, the execution time was changed to humanized fashion, while we would want to keep something more precise in that case.

This PR is rolling back to the old precise time for execution time.

What type of PR is it?

Improvement

What is the Jira issue?

https://issues.apache.org/jira/browse/ZEPPELIN-1161

How should this be tested?

Run a paragraph, after it is finished, it should show: Took x seconds. instead of Took a few seconds (or Hours, Minutes, Sec)

Screenshot

screen shot 2016-07-13 at 2 19 45 pm

Questions:

  • Does the licenses files need update? Yes
  • Is there breaking changes for older versions? No
  • Does this needs documentation? No

@AhyoungRyu
Copy link
Contributor

@corneadoug Wasn't it intended behaviour because of #862 (comment)? Anyway I prefer to show the precise execution time even if it shows such as 3600 seconds 👍

@corneadoug
Copy link
Contributor Author

@AhyoungRyu No, that discussion was about the elapsed time.
Right, for long one, maybe we should show something else than seconds. I will modify that.

@corneadoug
Copy link
Contributor Author

@AhyoungRyu Made modifications and added screenshot

@AhyoungRyu
Copy link
Contributor

@corneadoug more graceful! Thanks for taking care of this 👍

@AhyoungRyu
Copy link
Contributor

@corneadoug When I build this PR in my local, i got this jscs warnings.

screen shot 2016-07-13 at 3 21 18 pm

@corneadoug
Copy link
Contributor Author

I'm not sure why CI is not green, triggering it once more

@corneadoug corneadoug closed this Jul 15, 2016
@corneadoug corneadoug reopened this Jul 15, 2016
@SachinJanani
Copy link
Contributor

@corneadoug Will this changes also be available in 0.6.1 ?

@corneadoug
Copy link
Contributor Author

@SachinJanani There should be a thread about 0.6.1.
If we want it to be part of it, I guess it should be added to https://issues.apache.org/jira/browse/ZEPPELIN-1203

@corneadoug corneadoug closed this Jul 18, 2016
@corneadoug corneadoug reopened this Jul 18, 2016
@SachinJanani
Copy link
Contributor

@corneadoug Yes you are right.

@bzz
Copy link
Member

bzz commented Jul 19, 2016

Looks great to me, and CI is green now!

@corneadoug
Copy link
Contributor Author

Merging it now!

@asfgit asfgit closed this in dbe5e6c Jul 19, 2016
@corneadoug corneadoug deleted the ZEPPELIN-1161 branch July 19, 2016 02:07
asfgit pushed a commit that referenced this pull request Jul 19, 2016
### What is this PR for?
It had been pointed out in the mailing list that after #862, the execution time was changed to humanized fashion, while we would want to keep something more precise in that case.

This PR is rolling back to the old precise time for execution time.

### What type of PR is it?
Improvement

### What is the Jira issue?
https://issues.apache.org/jira/browse/ZEPPELIN-1161

### How should this be tested?
Run a paragraph, after it is finished, it should show: `Took x seconds.` instead of `Took a few seconds` (or Hours, Minutes, Sec)

### Screenshot
![screen shot 2016-07-13 at 2 19 45 pm](https://cloud.githubusercontent.com/assets/710411/16792626/0ff3ccb8-4905-11e6-89b6-a202944d66b8.png)

### Questions:
* Does the licenses files need update? Yes
* Is there breaking changes for older versions? No
* Does this needs documentation? No

Author: Damien CORNEAU <corneadoug@gmail.com>

Closes #1172 from corneadoug/ZEPPELIN-1161 and squashes the following commits:

df752bd [Damien CORNEAU] Add licence of new dependency
2c21894 [Damien CORNEAU] Fix jscs errors
9f756e3 [Damien CORNEAU] add moment plugin for duration
935f348 [Damien CORNEAU] Fix jxcs
e4f7625 [Damien CORNEAU] Revert seconds ago for execution time

(cherry picked from commit dbe5e6c)
Signed-off-by: Mina Lee <minalee@apache.org>
PhilippGrulich pushed a commit to SWC-SENSE/zeppelin that referenced this pull request Aug 8, 2016
### What is this PR for?
It had been pointed out in the mailing list that after apache#862, the execution time was changed to humanized fashion, while we would want to keep something more precise in that case.

This PR is rolling back to the old precise time for execution time.

### What type of PR is it?
Improvement

### What is the Jira issue?
https://issues.apache.org/jira/browse/ZEPPELIN-1161

### How should this be tested?
Run a paragraph, after it is finished, it should show: `Took x seconds.` instead of `Took a few seconds` (or Hours, Minutes, Sec)

### Screenshot
![screen shot 2016-07-13 at 2 19 45 pm](https://cloud.githubusercontent.com/assets/710411/16792626/0ff3ccb8-4905-11e6-89b6-a202944d66b8.png)

### Questions:
* Does the licenses files need update? Yes
* Is there breaking changes for older versions? No
* Does this needs documentation? No

Author: Damien CORNEAU <corneadoug@gmail.com>

Closes apache#1172 from corneadoug/ZEPPELIN-1161 and squashes the following commits:

df752bd [Damien CORNEAU] Add licence of new dependency
2c21894 [Damien CORNEAU] Fix jscs errors
9f756e3 [Damien CORNEAU] add moment plugin for duration
935f348 [Damien CORNEAU] Fix jxcs
e4f7625 [Damien CORNEAU] Revert seconds ago for execution time
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants