func executeGet(m *mapr.Client, n int, id int, s string) { for i := 0; i < n; i++ { key := strconv.Itoa(id) + "_" + strconv.Itoa(i) if m.Get(key) != s { fmt.Printf("Key [%v] was not found.\n", key) } } }
func executePut(m *mapr.Client, n int, id int, s string) { for i := 0; i < n; i++ { key := strconv.Itoa(id) + "_" + strconv.Itoa(i) m.Put(key, s) } }