Advertisement
Guest User

Untitled

a guest
Jul 15th, 2016
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.39 KB | None | 0 0
  1. 0: jdbc:phoenix:localhost:61181:/ams-hbase-un> select * from METRIC_RECORD_MINUTE WHERE APP_ID='nimbus' AND METRIC_NAME='Used Slots' AND SERVER_TIME > 1468503554000 AND SERVER_TIME < 1468507154000;
  2. +------------------------------------------+------------------------------------------+------------------------------------------+------------------------------------------+------------------------------------------+----------------------+------------------------------------------+---------------+
  3. | METRIC_NAME | HOSTNAME | APP_ID | INSTANCE_ID | SERVER_TIME | UNITS | METRIC_SUM | |
  4. +------------------------------------------+------------------------------------------+------------------------------------------+------------------------------------------+------------------------------------------+----------------------+------------------------------------------+---------------+
  5. | Used Slots | storm-metric-test2-2.openstacklocal | nimbus | | 1468505400000 | | 0.0 | 4 |
  6. | Used Slots | storm-metric-test2-2.openstacklocal | nimbus | | 1468505700000 | | 0.0 | 5 |
  7. | Used Slots | storm-metric-test2-2.openstacklocal | nimbus | | 1468506000000 | | 0.0 | 5 |
  8. | Used Slots | storm-metric-test2-2.openstacklocal | nimbus | | 1468506300000 | | 0.0 | 5 |
  9. | Used Slots | storm-metric-test2-2.openstacklocal | nimbus | | 1468506600000 | | 0.0 | 5 |
  10. | Used Slots | storm-metric-test2-2.openstacklocal | nimbus | | 1468506900000 | | 0.0 | 4 |
  11. +------------------------------------------+------------------------------------------+------------------------------------------+------------------------------------------+------------------------------------------+----------------------+------------------------------------------+---------------+
  12. 6 rows selected (0.146 seconds)
  13. 0: jdbc:phoenix:localhost:61181:/ams-hbase-un> select * from METRIC_RECORD_MINUTE WHERE APP_ID='nimbus' AND METRIC_NAME='Used Slots' AND SERVER_TIME > 1468569641000 AND SERVER_TIME < 1468573241000;
  14. +------------------------------------------+------------------------------------------+------------------------------------------+------------------------------------------+------------------------------------------+----------------------+------------------------------------------+---------------+
  15. | METRIC_NAME | HOSTNAME | APP_ID | INSTANCE_ID | SERVER_TIME | UNITS | METRIC_SUM | |
  16. +------------------------------------------+------------------------------------------+------------------------------------------+------------------------------------------+------------------------------------------+----------------------+------------------------------------------+---------------+
  17. | Used Slots | storm-metric-test2-2.openstacklocal | nimbus | | 1468569900000 | | 0.0 | 5 |
  18. | Used Slots | storm-metric-test2-2.openstacklocal | nimbus | | 1468570200000 | | 0.0 | 5 |
  19. | Used Slots | storm-metric-test2-2.openstacklocal | nimbus | | 1468570500000 | | 0.0 | 5 |
  20. | Used Slots | storm-metric-test2-2.openstacklocal | nimbus | | 1468570800000 | | 0.0 | 5 |
  21. | Used Slots | storm-metric-test2-2.openstacklocal | nimbus | | 1468571100000 | | 0.0 | 5 |
  22. | Used Slots | storm-metric-test2-2.openstacklocal | nimbus | | 1468571400000 | | 0.0 | 5 |
  23. | Used Slots | storm-metric-test2-2.openstacklocal | nimbus | | 1468571700000 | | 0.0 | 5 |
  24. | Used Slots | storm-metric-test2-2.openstacklocal | nimbus | | 1468572000000 | | 0.0 | 5 |
  25. | Used Slots | storm-metric-test2-2.openstacklocal | nimbus | | 1468572300000 | | 0.0 | 5 |
  26. | Used Slots | storm-metric-test2-2.openstacklocal | nimbus | | 1468572600000 | | 0.0 | 5 |
  27. | Used Slots | storm-metric-test2-2.openstacklocal | nimbus | | 1468572900000 | | 0.0 | 5 |
  28. | Used Slots | storm-metric-test2-2.openstacklocal | nimbus | | 1468573200000 | | 0.0 | 5 |
  29. +------------------------------------------+------------------------------------------+------------------------------------------+------------------------------------------+------------------------------------------+----------------------+------------------------------------------+---------------+
  30. 12 rows selected (0.122 seconds)
  31. 0: jdbc:phoenix:localhost:61181:/ams-hbase-un> select * from METRIC_AGGREGATE_MINUTE WHERE APP_ID='nimbus' AND METRIC_NAME='Used Slots' AND SERVER_TIME > 1468503554000 AND SERVER_TIME < 1468507154000;
  32. +------------------------------------------+------------------------------------------+------------------------------------------+------------------------------------------+----------------------+------------------------------------------+------------------------------------------+---------------+
  33. | METRIC_NAME | APP_ID | INSTANCE_ID | SERVER_TIME | UNITS | METRIC_SUM | METRIC_COUNT | |
  34. +------------------------------------------+------------------------------------------+------------------------------------------+------------------------------------------+----------------------+------------------------------------------+------------------------------------------+---------------+
  35. +------------------------------------------+------------------------------------------+------------------------------------------+------------------------------------------+----------------------+------------------------------------------+------------------------------------------+---------------+
  36. No rows selected (0.155 seconds)
  37. 0: jdbc:phoenix:localhost:61181:/ams-hbase-un> select * from METRIC_AGGREGATE_MINUTE WHERE APP_ID='nimbus' AND METRIC_NAME='Used Slots' AND SERVER_TIME > 1468569641000 AND SERVER_TIME < 1468573241000;
  38. +------------------------------------------+------------------------------------------+------------------------------------------+------------------------------------------+----------------------+------------------------------------------+------------------------------------------+---------------+
  39. | METRIC_NAME | APP_ID | INSTANCE_ID | SERVER_TIME | UNITS | METRIC_SUM | METRIC_COUNT | |
  40. +------------------------------------------+------------------------------------------+------------------------------------------+------------------------------------------+----------------------+------------------------------------------+------------------------------------------+---------------+
  41. | Used Slots | nimbus | | 1468569900000 | | 0.0 | 1 | 0.0 |
  42. | Used Slots | nimbus | | 1468570200000 | | 0.0 | 1 | 0.0 |
  43. | Used Slots | nimbus | | 1468570500000 | | 0.0 | 1 | 0.0 |
  44. | Used Slots | nimbus | | 1468570800000 | | 0.0 | 1 | 0.0 |
  45. | Used Slots | nimbus | | 1468571100000 | | 0.0 | 1 | 0.0 |
  46. | Used Slots | nimbus | | 1468571400000 | | 0.0 | 1 | 0.0 |
  47. | Used Slots | nimbus | | 1468571700000 | | 0.0 | 1 | 0.0 |
  48. | Used Slots | nimbus | | 1468572000000 | | 0.0 | 1 | 0.0 |
  49. | Used Slots | nimbus | | 1468572300000 | | 0.0 | 1 | 0.0 |
  50. | Used Slots | nimbus | | 1468572600000 | | 0.0 | 1 | 0.0 |
  51. | Used Slots | nimbus | | 1468572900000 | | 0.0 | 1 | 0.0 |
  52. | Used Slots | nimbus | | 1468573200000 | | 0.0 | 1 | 0.0 |
  53. +------------------------------------------+------------------------------------------+------------------------------------------+------------------------------------------+----------------------+------------------------------------------+------------------------------------------+---------------+
  54. 12 rows selected (0.113 seconds)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement