Member since
05-30-2016
27
Posts
5
Kudos Received
0
Solutions
01-09-2017
09:45 AM
Like I said, if you are running on EC2, you should be able to play with Netflix's Chaos Monkey direct. I haven't used it for a while; https://github.com/Netflix/SimianArmy/wiki/Quick-Start-Guide covers starting it....I think it's got more complex than in the early days, when it was more of a CLI thing
... View more
12-18-2016
07:49 PM
Hi, @rudra prasad biswas For this use case, consider a few different approaches: 1. Use a single array type "stoppage" column which stores each stop as a JSON element. To query for records where the last stoppage was NY, use something like "where stoppage[array_length(stoppage)-1] = 'New York". 2. Continue using dynamic columns, but include an additional column "stoppage_count" which you increment for each additional stoppage. You can use stoppage_count to tell your application which dynamic columns to include in the query. 3. Use a relational model where you have records of trips, and another table with "stoppages" linked to the trip ID. However, the above approaches assume your queries have an initial access pattern limiting the size of the scan. Assuming your table has primary key of customer_id, trip_id, you DON'T want to run a query like: select * from trips where stoppages[array_length(stoppages)-1] = 'New York' because it would be a full scan. Instead, you want it to be something like: select * from (
select * from trips where customer_id = '1234'
) a
where stoppages[array_length(stoppages)-1] = 'New York' which would be a much smaller range scan.
... View more
12-13-2016
12:23 AM
1 Kudo
@rudra prasad biswas - As Aravindan mentioned that there is an Epic JIRA for Capturing & visualizing the metrics for Ambari Server: https://issues.apache.org/jira/browse/AMBARI-17589 - However if you want to monitor the Current JVM statistics/metrics (not historical data) then you can use the jconsole or jvisualvm kind of utilities as described in: https://community.hortonworks.com/content/kbentry/71048/how-to-monitor-ambariservers-memory-using-jvisualv.html
... View more
08-01-2017
08:36 AM
for the second question:- bq. Also, I want to add a table with defined column families and few qualifiers. My requirement is to store the data with qualifiers at runtime. How can I make sure to fetch the valid qualifiers while fetching particular record? You can use dynamic columns while upserting data and doing SELECT. https://phoenix.apache.org/dynamic_columns.html
... View more