syr

mySpam

syr
Jan 13th, 2012
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.17 KB | None | 0 0
  1. Sorry, we were unable to deliver your message to the following address.
  2.  
  3. Remote host said: 552 spam score (5.4) exceeded threshold (FREEMAIL_FORGED_REPLYTO,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_NEUTRAL ) [BODY]
  4.  
  5. --- Below this line is a copy of the message.
  6.  
  7. Received: from [77.238.189.234] by nm23.bullet.mail.ird.yahoo.com with NNFMP; 07 Jan 2012 14:35:43 -0000
  8. Received: from [212.82.108.252] by tm15.bullet.mail.ird.yahoo.com with NNFMP; 07 Jan 2012 14:35:43 -0000
  9. Received: from [127.0.0.1] by omp1017.mail.ird.yahoo.com with NNFMP; 07 Jan 2012 14:35:43 -0000
  10. X-Yahoo-Newman-Property: ymail-3
  11. X-Yahoo-Newman-Id: [email protected]
  12. Received: (qmail 90689 invoked by uid 60001); 7 Jan 2012 14:35:43 -0000
  13. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.de; s=s1024; t=1325946943; bh=xp7CyTjF4gcG0xaPCJZu1nrwrCT+NZ+tnc2ppBmQLJg=; h=X-YMail-OSG:Received:X-Mailer:Message-ID:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type; b=If7/Irk3bTDwcUr38P82xt7F96YjeipFUr3mfvKL6l5iyhncDTJfMJHWkjpyjUf/vokYW7V5VCsoNEbHEZ+v4eZg+KnRtu1DIoOSoa1GgrypKw1NRrVvZatRdb71s0zvl81OJujhs7mKmcjUWSTYa9ZLva88ZvDZ5c4pN0Q7WdQ=
  14. DomainKey-Signature:a=rsa-sha1; q=dns; c=nofws;
  15. s=s1024; d=yahoo.de;
  16. h=X-YMail-OSG:Received:X-Mailer:Message-ID:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type;
  17. b=iMV9sOYdESgNW92xzOg2Gi84ql5I9tMmtkshgf/8IolhddY+7jy4ljegcFVf7HuqeY757+zqBTY/NsEgdw4wEnk0WXBnOhCWKOnwurOSa9JeDmth+9Xhuh1BPfvGC4LGnQkYQEtmwA9fP0FvF4h9fOJYu60T5MfhEZcNrKK/i20=;
  18. X-YMail-OSG: e6VHWI0VM1na7w4SETsXjkAmbuBdCXCXZWbi2W.Ah7hXFm2
  19. 12ZArWeuDvPN.ufnohQfiVZohR2nYg.pHyOgWRrEw1v0rMNpCkAyrIu_MzhT
  20. R7IfqVNUegNo1GOYIyeD_fAxlmXTH55Re_Ry5Rw_jbrKm5swDDSs1ie4nUZC
  21. y5aDxD1fZg0ZXbP5uYLXkmhdjJljYbmt9nrjQSHhXl4AfTPY253VW60Dzi1x
  22. vNvItLrQde4prbsQf2iD.3Pu9ablq8LzvG31B3MaL.5_x31I2uK7am.AXhAq
  23. hSllk11qH7kVG3fZrmpLulDX_KdppVkODSrQ.CL1h.J6JL0vEwGtbMFEgVHs
  24. 3T98hPgRGFcI-
  25. Received: from [84.183.247.4] by web132105.mail.ird.yahoo.com via HTTP; Sat, 07 Jan 2012 14:35:42 GMT
  26. X-Mailer: YahooMailWebService/0.8.115.331698
  27. Message-ID: <[email protected]>
  28. Date: Sat, 7 Jan 2012 14:35:42 +0000 (GMT)
  29. From: =?iso-8859-1?Q?Christian_Sch=E4fer?= <[email protected]>
  30. Reply-To: =?iso-8859-1?Q?Christian_Sch=E4fer?= <[email protected]>
  31. Subject: Capturing RegionServerMetrics during inserts on table
  32. MIME-Version: 1.0
  33. Content-Type: multipart/alternative; boundary="-1133388179-2144181472-1325946942=:90487"
  34.  
  35. ---1133388179-2144181472-1325946942=:90487
  36. Content-Type: text/plain; charset=iso-8859-1
  37. Content-Transfer-Encoding: quoted-printable
  38.  
  39. Hello,=0A=0AI want to get requests count per second for each Region Server =
  40. during inserts on a table that is spread over this Region Servers.=0A=0ASo =
  41. during inserts I run local java app to grab the Region Server metrics:=0A=
  42. =0A=A0 public void getRegionServerMetrics() throws Exception{=0A=A0=A0=A0 =
  43. =A0=A0=A0 HBaseAdmin admin =3D new HBaseAdmin(config);=0A=A0=A0=A0 =A0=A0=
  44. =A0 HTable table =3D new HTable(config, TABLE_NAME);=0A=A0=A0=A0 =A0=A0=A0 =
  45. =0A=A0=A0=A0 =A0=A0=A0 Map<HRegionInfo, HServerAddress> regionInfo =3D tabl=
  46. e.getRegionsInfo();=0A=A0=A0=A0 =A0=A0=A0 =0A=A0=A0=A0 =A0=A0=A0 RegionServ=
  47. erMetrics metrics =3D new RegionServerMetrics();=0A=A0=A0=A0 =A0=A0=A0 =0A=
  48. =A0=A0=A0 =A0=A0=A0 while(true){=0A=A0=A0=A0 =A0=A0=A0 =A0=A0=A0 System.out=
  49. .println(metrics.toString());=0A=A0=A0=A0 =A0=A0=A0 =A0=A0=A0 Thread.sleep(=
  50. 1000);=0A=A0=A0=A0 =A0=A0=A0 }=0A=A0=A0=A0 }=0A=0ABut it prints just:=0A=0A=
  51. requests=3D0,=0A regions=3D0, stores=3D0, storefiles=3D0, storefileIndexSiz=
  52. e=3D0, =0AmemstoreSize=3D0, compactionQueueSize=3D0, flushQueueSize=3D0, us=
  53. edHeap=3D14, =0AmaxHeap=3D865, blockCacheSize=3D0, blockCacheFree=3D0, bloc=
  54. kCacheCount=3D0, =0AblockCacheHitCount=3D0, blockCacheMissCount=3D0, blockC=
  55. acheEvictedCount=3D0, =0AblockCacheHitRatio=3D0, blockCacheHitCachingRatio=
  56. =3D0=0A=0A..although the WebGUI of HMaster shows that there are requests fo=
  57. r all Region Servers.=0A=0AThe TABLE_NAME is equal for the inserting app an=
  58. d the metrics app.=0A=0AAny suggestions?
  59. ---1133388179-2144181472-1325946942=:90487
  60. Content-Type: text/html; charset=iso-8859-1
  61. Content-Transfer-Encoding: quoted-printable
  62.  
  63. <html><body><div style=3D"color:#000; background-color:#fff; font-family:ar=
  64. ial, helvetica, sans-serif;font-size:12pt">Hello,<br><br>I want to get requ=
  65. ests count per second for each Region Server during inserts on a table that=
  66. is spread over this Region Servers.<br><br>So during inserts I run local j=
  67. ava app to grab the Region Server metrics:<br><br>&nbsp; public void getReg=
  68. ionServerMetrics() throws Exception{<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbs=
  69. p; HBaseAdmin admin =3D new HBaseAdmin(config);<br>&nbsp;&nbsp;&nbsp; &nbsp=
  70. ;&nbsp;&nbsp; HTable table =3D new HTable(config, TABLE_NAME);<br>&nbsp;&nb=
  71. sp;&nbsp; &nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; Map&=
  72. lt;HRegionInfo, HServerAddress&gt; regionInfo =3D table.getRegionsInfo();<b=
  73. r>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;=
  74. &nbsp; RegionServerMetrics metrics =3D new RegionServerMetrics();<br>&nbsp;=
  75. &nbsp;&nbsp; &nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
  76. while(true){<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; S=
  77. ystem.out.println(metrics.toString());<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&n=
  78. bsp; &nbsp;&nbsp;&nbsp; Thread.sleep(1000);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nb=
  79. sp;&nbsp; }<br>&nbsp;&nbsp;&nbsp; }<br><br>But it prints just:<br><br>reque=
  80. sts=3D0,=0A regions=3D0, stores=3D0, storefiles=3D0, storefileIndexSize=3D0=
  81. , =0AmemstoreSize=3D0, compactionQueueSize=3D0, flushQueueSize=3D0, usedHea=
  82. p=3D14, =0AmaxHeap=3D865, blockCacheSize=3D0, blockCacheFree=3D0, blockCach=
  83. eCount=3D0, =0AblockCacheHitCount=3D0, blockCacheMissCount=3D0, blockCacheE=
  84. victedCount=3D0, =0AblockCacheHitRatio=3D0, blockCacheHitCachingRatio=3D0<b=
  85. r><br>..although the WebGUI of HMaster shows that there are requests for al=
  86. l Region Servers.<br><br>The TABLE_NAME is equal for the inserting app and =
  87. the metrics app.<br><br>Any suggestions?</div></body></html>
  88. ---1133388179-2144181472-1325946942=:90487--
Advertisement
Add Comment
Please, Sign In to add comment