question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Improve 'fluo list' command to print Fluo application start time

See original GitHub issue

Improve upon the basic output of the fluo list command below by adding the start time of the Fluo application. Below is the output of current list

$ fluo list
Fluo instance (localhost/fluo) contains 2 application(s)

Application     Status     # Workers
-----------     ------     ---------
test1           RUNNING        1
test2           STOPPED        0

One way to implement this to create a getStartTime() method in FluoAdminImpl that determines minimum creation time of Zookeeper paths (ZookeeperPath.ORACLE_SERVER and all children of ZookeeperPath.FINDERS) to determine when the Fluo application was started. The existence of these paths in Zookeeper are currently used in FluoAdminImpl to determine if oracle and workers are running. In FluoList, the getStartTime() could be called if the application is running and the time printed out in a new column.

Issue Analytics

  • State:open
  • Created 8 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
keith-turnercommented, Nov 14, 2017

@mikewalch will you be able to provide @srikailash with assistance on this issue? If not, I may be able to.

0reactions
keith-turnercommented, Mar 16, 2020

There are definitely alot of concurrency issues with trying to keep an accurate start time. It would probably be possible to work out an algorithm using Zookeeper atomic compare and set features to maintain this information. However I do no think its worthwhile. May want to consider closing the issue or reframing it to listing the oldest running process start time instead of the app start time.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Fluo 1.0.0-beta-1 released
A scan command allows users to print a snapshot of a Fluo table (#319). A info command shows locations of containers when running...
Read more >
Apache Fluo Uno - GitHub
Run uno fetch to see a list of possible components. After the fetch command is run for the first time, it only needs...
Read more >
How to print fluorescent colors - Quora
When you select “File/Print” a piece of software called the Print Driver goes to work figuring out how to define the colors you...
Read more >
FV-1000 User Guide update - UW Departments Web Server
Scroll List, Figure 7.4. ... File transfer to Mac Pro 'Fluoview', confocal file server. ... Set the dwell time, 2 or 4 µs...
Read more >
0415F0040A-Software-Manual-Omega-5.10-Part-II.pdf
Suggestions for improving this manual will be gratefully accepted. BMG LABTECH reserves the right to change or update this manual at any time....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found