code: def get_log_partial(self, err_pointer=0, tmp_pointer=0):
          
          log_path = self.meta_data['logs_resource']
          conn = Qubole.agent()
          r = conn.get_raw(log_path, params={'err_file_processed':err_pointer, 'tmp_file_processed':tmp_pointer})
          if 'err_length' in r.headers.keys() and 'tmp_length' in r.headers.keys():
              return [r.text, r.headers['err_length'], r.headers['tmp_length']]
          return [r.text, 0, 0]
docs: Fetches log (full or partial) for the command represented by this object
          Accepts:
              err_pointer(int): Pointer to err text bytes we've received so far, which will be passed to next api call
                  to indicate pointer to fetch logs.
              tmp_pointer(int): Same as err_pointer except it indicates the bytes of tmp file processed.
          Returns:
              An array where the first field is actual log (string), while 2nd & 3rd are counts of err and tmp bytes
                  which have been returned by api in addition to the given pointers.