Jump to content

Health checks on spark jar


Recommended Posts

Posted
On 2/5/2019 at 5:08 PM, vendettaa said:

my manager wants me to use something like jmeter to test the jar

Test cheyyala monitor cheyyala .. ? Did u look into new relic or appdynamics agents?

  • Replies 60
  • Created
  • Last Reply

Top Posters In This Topic

  • vendettaa

    27

  • tacobell fan

    9

  • Kalam_Youtheman

    5

  • panipoori

    4

Top Posters In This Topic

Posted
50 minutes ago, vendettaa said:

Looking to schedule jobs that run on spark scheduler .Oozie is not better option so what are best options to schedule jobs?

Dont say cron jobs

Apache Livy, Luigi, Celery

Posted
2 hours ago, WeBeliveInTigerman said:

Apache Livy, Luigi, Celery

Livy 2.4.0 spark mida work cheydu

luigi is python based and am looking for scala based

Posted
2 hours ago, JavaBava said:

Test cheyyala monitor cheyyala .. ? Did u look into new relic or appdynamics agents?

Ledu enti relic

Posted
On 2/5/2019 at 6:32 PM, Kalam_Youtheman said:

odiniyaavaaa .    u know what jmeter is used for ?  its purely for load testing

 

basics telskoni ask questions baaalu

valla manager jmeter ante ee vendetta bava auto ekki meter meter ani thiruguthondi kada ee db antha 

Posted
10 minutes ago, bavaluu said:

valla manager jmeter ante ee vendetta bava auto ekki meter meter ani thiruguthondi kada ee db antha 

Related image

Posted
2 hours ago, vendettaa said:

Livy 2.4.0 spark mida work cheydu

luigi is python based and am looking for scala based

Did you try??. Livy works for 2.4. If you don't have latest.. download n build agaisnt 2.4..

Also for scheduling why do u care if its python or scala.. Build a jar and Luigi can do spark-submit or trigger any number of spark jobs

Posted
15 hours ago, WeBeliveInTigerman said:

Did you try??. Livy works for 2.4. If you don't have latest.. download n build agaisnt 2.4..

Also for scheduling why do u care if its python or scala.. Build a jar and Luigi can do spark-submit or trigger any number of spark jobs

ok will try with Luigi 

 

I did find this helpful for doing health checks

https://metrics.dropwizard.io/3.1.0/getting-started/

Posted
15 hours ago, bavaluu said:

valla manager jmeter ante ee vendetta bava auto ekki meter meter ani thiruguthondi kada ee db antha 

finally dorkindi  using Dropwizard Metrics

Posted
15 hours ago, WeBeliveInTigerman said:

Did you try??. Livy works for 2.4. If you don't have latest.. download n build agaisnt 2.4..

Also for scheduling why do u care if its python or scala.. Build a jar and Luigi can do spark-submit or trigger any number of spark jobs

metrics display cheyali programmatically so Livy lite , Have to explore Luigi, how efficient is Luigi for scheduling ? ok python use chestanu to schedule that jar

Posted
17 hours ago, mettastar said:

jar health check ante emchestharu usual ga ?

database health checks, connections check  ala 

final HealthCheckRegistry healthChecks = new HealthCheckRegistry();
public class DatabaseHealthCheck extends HealthCheck {
    private final Database database;

    public DatabaseHealthCheck(Database database) {
        this.database = database;
    }

    @Override
    public HealthCheck.Result check() throws Exception {
        if (database.isConnected()) {
            return HealthCheck.Result.healthy();
        } else {
            return HealthCheck.Result.unhealthy("Cannot connect to " + database.getUrl());
        }
    }
}

 

Like this

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...