Hi Paul,

What interpreter do you find that is not killed ? Unfortunately there's no
log for the lasttimeusing (I should add that for debugging).

And let me know if it is easy to reproduce.



Paul Brenner <pbren...@placeiq.com>于2018年4月5日周四 下午11:21写道:

> Wow, looks like I was wrong. TimeoutLifecycleManager is definitely killing
> some idle interpreters, just not all idle interpreters. I have no idea what
> could be causing the difference. It looks like the manager is pulling some
> value for lasttimeusing here
> https://github.com/apache/zeppelin/blob/86f387e940eacb6dac7531a4ed2cadadaa381bbe/zeppelin-zengine/src/main/java/org/apache/zeppelin/interpreter/lifecycle/TimeoutLifecycleManager.java#L47
> <https://share.polymail.io/v1/z/b/NWFjNjNjMDc0ZWFi/6Zff_ZkywYC3DLCbIS8X_WEmw1V5BaikknznZ6LCyccNZKg9pLOcuXn-dfsZesa53zGcAv6M3lEqmXb3IGo21ejezflaXMGokN93jD1gpMd8ga0G2qZtbGCqRC3iyCA3sP6dnGVwSuyIpJOz_ZIrnMDJqQy8jv77XulymBRkRw6KViRLB-skqfm4plocl69EZ4kINl1cymifTZA27_f1MdHiCBWqXh5OpuesbRHHTMfR71SBpq8dWD3OF4Irlfdk5SFEKguu8BG4JXh_LT9SRBYaGRIJm2uP6s_THac9GNV_ljM_qgKTIOtCQfPRJALlgKpbSyD8evmeQ0WWxdPPd5qRY2_-_nhNdTlg6SzqRgNBdE9gHQvlpHFwDerhUZiYHC7TIL90>
>
> but I assume there is no way I can figure out what value that is for the
> idle interpreters I’m seeing that haven’t been killed. Is there anything
> else I can look into or should I just accept that this feature is going to
> be partly broken for us going forward?
>
> <http://www.placeiq.com/> <http://www.placeiq.com/>
> <http://www.placeiq.com/> *Paul Brenner* <https://twitter.com/placeiq>
> <https://twitter.com/placeiq> <https://twitter.com/placeiq>
> <https://www.facebook.com/PlaceIQ> <https://www.facebook.com/PlaceIQ>
> <https://www.linkedin.com/company/placeiq>
> <https://www.linkedin.com/company/placeiq>
> SR. DATA SCIENTIST
> *(217) 390-3033 <(217)%20390-3033> *
>
> <http://www.placeiq.com/2015/05/26/placeiq-named-winner-of-prestigious-2015-oracle-data-cloud-activate-award/>
> <http://placeiq.com/2015/12/18/accuracy-vs-precision-in-location-data-mma-webinar/>
> <http://placeiq.com/2015/12/18/accuracy-vs-precision-in-location-data-mma-webinar/>
> <http://placeiq.com/2015/12/18/accuracy-vs-precision-in-location-data-mma-webinar/>
> <http://placeiq.com/2015/12/18/accuracy-vs-precision-in-location-data-mma-webinar/>
> <http://placeiq.com/2016/03/08/measuring-addressable-tv-campaigns-is-now-possible/>
> <http://placeiq.com/2016/04/13/placeiq-joins-the-network-advertising-initiative-nai-as-100th-member/>
> <http://placeiq.com/2016/04/13/placeiq-joins-the-network-advertising-initiative-nai-as-100th-member/>
> <http://placeiq.com/2016/04/13/placeiq-joins-the-network-advertising-initiative-nai-as-100th-member/>
> <http://placeiq.com/2016/04/13/placeiq-joins-the-network-advertising-initiative-nai-as-100th-member/>
> <http://placeiq.com/2016/04/13/placeiq-joins-the-network-advertising-initiative-nai-as-100th-member/>
> <http://pages.placeiq.com/Location-Data-Accuracy-Whitepaper-Download.html?utm_source=Signature&utm_medium=Email&utm_campaign=AccuracyWP>
> <http://placeiq.com/2016/08/03/placeiq-bolsters-location-intelligence-platform-with-mastercard-insights/>
> <http://placeiq.com/2016/10/26/the-making-of-a-location-data-industry-milestone/>
> <http://placeiq.com/2016/12/07/placeiq-introduces-landmark-a-groundbreaking-offering-that-delivers-access-to-the-highest-quality-location-data-for-insights-that-fuel-limitless-business-decisions/>
> <http://placeiq.com/2016/12/07/placeiq-introduces-landmark-a-groundbreaking-offering-that-delivers-access-to-the-highest-quality-location-data-for-insights-that-fuel-limitless-business-decisions/>
> <https://www.placeiq.com/2017/05/placeiqs-landmark-powers-location-based-insight-innovation-for-ansible-gstv-havas-media-the-media-kitchen-and-more/>
> <http://pages.placeiq.com/CES2018_MeetingRequest.html>[image: PlaceIQ:CES
> 2018]
> <http://pages.placeiq.com/2017-Integrated-Marketing-Whitepaper_LP_Download.html>
>
> On Thu, Apr 05, 2018 at 10:43 AM Jeff Zhang <Jeff Zhang
> <jeff+zhang+%3czjf...@gmail.com%3E>> wrote:
>
>>
>> Try to look for logs like following in zeppelin server log file. Make
>> sure you are using TimeoutLifecycleManager instead of
>> NullLifecycleManager
>>
>> INFO [2018-04-04 18:12:26,209] ({main}
>> InterpreterSettingManager.java[<init>]:170) - Using LifecycleManager:
>> org.apache.zeppelin.interpreter.lifecycle.NullLifecycleManager
>>
>> Paul Brenner <pbren...@placeiq.com>于2018年4月5日周四 下午10:32写道:
>>
>>> We finally got our team up and running on a version of Zeppelin 0.8
>>> built from source. However, we can’t seem to get TimeoutLifecycleManager
>>> manager to kill idle interpreters. When I look at the config page I see:
>>>
>>> zeppelin.interpreter.lifecyclemanager.class
>>> org.apache.zeppelin.interpreter.lifecycle.TimeoutLifecycleManager
>>> zeppelin.interpreter.lifecyclemanager.timeout.checkinterval
>>> 60000
>>> zeppelin.interpreter.lifecyclemanager.timeout.threshold
>>> 3600000
>>>
>>> So it seems like everything should be configured correctly. However, if
>>> we leave interpreters idling overnight they are still there idling the next
>>> morning.
>>>
>>> Is there any way to diagnose what is going wrong? Can anyone confirm
>>> that they have had success with TimeoutLifecycleManager? Should there
>>> be anything in any of the log files?
>>> <http://www.placeiq.com/> <http://www.placeiq.com/>
>>> <http://www.placeiq.com/> *Paul Brenner* <https://twitter.com/placeiq>
>>> <https://twitter.com/placeiq> <https://twitter.com/placeiq>
>>> <https://www.facebook.com/PlaceIQ> <https://www.facebook.com/PlaceIQ>
>>> <https://www.linkedin.com/company/placeiq>
>>> <https://www.linkedin.com/company/placeiq>
>>> SR. DATA SCIENTIST
>>> *(217) 390-3033 <(217)%20390-3033> *
>>>
>>> <http://www.placeiq.com/2015/05/26/placeiq-named-winner-of-prestigious-2015-oracle-data-cloud-activate-award/>
>>> <http://placeiq.com/2015/12/18/accuracy-vs-precision-in-location-data-mma-webinar/>
>>> <http://placeiq.com/2015/12/18/accuracy-vs-precision-in-location-data-mma-webinar/>
>>> <http://placeiq.com/2015/12/18/accuracy-vs-precision-in-location-data-mma-webinar/>
>>> <http://placeiq.com/2015/12/18/accuracy-vs-precision-in-location-data-mma-webinar/>
>>> <http://placeiq.com/2016/03/08/measuring-addressable-tv-campaigns-is-now-possible/>
>>> <http://placeiq.com/2016/04/13/placeiq-joins-the-network-advertising-initiative-nai-as-100th-member/>
>>> <http://placeiq.com/2016/04/13/placeiq-joins-the-network-advertising-initiative-nai-as-100th-member/>
>>> <http://placeiq.com/2016/04/13/placeiq-joins-the-network-advertising-initiative-nai-as-100th-member/>
>>> <http://placeiq.com/2016/04/13/placeiq-joins-the-network-advertising-initiative-nai-as-100th-member/>
>>> <http://placeiq.com/2016/04/13/placeiq-joins-the-network-advertising-initiative-nai-as-100th-member/>
>>> <http://pages.placeiq.com/Location-Data-Accuracy-Whitepaper-Download.html?utm_source=Signature&utm_medium=Email&utm_campaign=AccuracyWP>
>>> <http://placeiq.com/2016/08/03/placeiq-bolsters-location-intelligence-platform-with-mastercard-insights/>
>>> <http://placeiq.com/2016/10/26/the-making-of-a-location-data-industry-milestone/>
>>> <http://placeiq.com/2016/12/07/placeiq-introduces-landmark-a-groundbreaking-offering-that-delivers-access-to-the-highest-quality-location-data-for-insights-that-fuel-limitless-business-decisions/>
>>> <http://placeiq.com/2016/12/07/placeiq-introduces-landmark-a-groundbreaking-offering-that-delivers-access-to-the-highest-quality-location-data-for-insights-that-fuel-limitless-business-decisions/>
>>> <https://www.placeiq.com/2017/05/placeiqs-landmark-powers-location-based-insight-innovation-for-ansible-gstv-havas-media-the-media-kitchen-and-more/>
>>> <http://pages.placeiq.com/CES2018_MeetingRequest.html>[image:
>>> PlaceIQ:CES 2018]
>>> <http://pages.placeiq.com/2017-Integrated-Marketing-Whitepaper_LP_Download.html>
>>>
>>
>

Reply via email to