seobandoe commented on pull request #30713: URL: https://github.com/apache/spark/pull/30713#issuecomment-745257694
Is the configuration version inside the real program no an external file, but ok, in my case know this other way, safe my job. Obtener Outlook para Android<https://aka.ms/ghei36> ________________________________ From: Hyukjin Kwon <[email protected]> Sent: Tuesday, December 15, 2020 5:06:07 AM To: apache/spark <[email protected]> Cc: Sebastian Obando <[email protected]>; Author <[email protected]> Subject: Re: [apache/spark] Update monitoring.md (#30713) CAUTION - EXTERNAL EMAIL @HyukjinKwon commented on this pull request. ________________________________ In docs/monitoring.md<https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Fspark%2Fpull%2F30713%23discussion_r543208997&data=04%7C01%7Csebastian.obando%40endava.com%7C1019a87153724c1d072508d8a0e10fab%7C0b3fc178b7304e8b9843e81259237b77%7C0%7C0%7C637436235800076682%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=mz4wiEFMHUnkNYA2PJrWeXj9l0OlT7JHi9jGH8IYdv8%3D&reserved=0>: > @@ -1038,6 +1038,22 @@ This example shows a list of Spark configuration parameters for a Graphite sink: "spark.metrics.conf.*.sink.graphite.prefix"="optional_prefix" "spark.metrics.conf.*.sink.graphite.regex"="optional_regex_to_send_matching_metrics" ``` +Also it could be done under spark session like: +``` +import org.apache.spark.sql.SparkSession + +val spark = SparkSession.builder + .master(sparkconfig.getString("MASTER_URL")) + .config("spark.metrics.conf.*.sink.graphite.class","org.apache.spark.metrics.sink.GraphiteSink") + .config("spark.metrics.conf.*.sink.graphite.host","graphiteEndPoint_hostName>") + .config("spark.metrics.conf.*.sink.graphite.port",<graphite_listening_port>) + .config("spark.metrics.conf.*.sink.graphite.period",10) + .config("spark.metrics.conf.*.sink.graphite.unit","seconds") + .config("spark.metrics.conf.*.sink.graphite.prefix","optional_prefix") + .config("spark.metrics.conf.*.sink.graphite.regex","optional_regex_to_send_matching_metrics") isn't this a copy paste of the configurations above? I don't think this is very useful. — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub<https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Fspark%2Fpull%2F30713%23pullrequestreview-552289905&data=04%7C01%7Csebastian.obando%40endava.com%7C1019a87153724c1d072508d8a0e10fab%7C0b3fc178b7304e8b9843e81259237b77%7C0%7C0%7C637436235800086685%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=fiITTluB%2FxkvvXPpKvbjKWa9uaXN3fpiV54VAD5l9sA%3D&reserved=0>, or unsubscribe<https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAR7UHJBORRMMV3RR4I7BTX3SU4YI7ANCNFSM4UVRZIAA&data=04%7C01%7Csebastian.obando%40endava.com%7C1019a87153724c1d072508d8a0e10fab%7C0b3fc178b7304e8b9843e81259237b77%7C0%7C0%7C637436235800096681%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=cwZ0CGl%2FTSGDFT4dBMxD2TDAE%2BSlyT3ZjmXQt1pGAdA%3D&reserved=0>. The information in this email is confidential and may be legally privileged. It is intended solely for the addressee. Any opinions expressed are mine and do not necessarily represent the opinions of the Company. Emails are susceptible to interference. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is strictly prohibited and may be unlawful. If you have received this message in error, do not open any attachments but please notify the Endava Service Desk on (+44 (0)870 423 0187), and delete this message from your system. The sender accepts no responsibility for information, errors or omissions in this email, or for its use or misuse, or for any act committed or omitted in connection with this communication. If in doubt, please verify the authenticity of the contents with the sender. Please rely on your own virus checkers as no responsibility is taken by the sender for any damage rising out of any bug or virus infection. Endava plc is a company registered in England under company number 5722669 whose registered office is at 125 Old Broad Street, London, EC2N 1AR, United Kingdom. Endava plc is the Endava group holding company and does not provide any services to clients. Each of Endava plc and its subsidiaries is a separate legal entity and has no liability for another such entity's acts or omissions. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
