Kylin is throwing these message when I try do build a cube following the the
tutorial. http://kylin.apache.org/docs15/tutorial/create_cube.html 


Error Message

CubeDesc is null.
Cube Schema

{
  "name": "TUTORIAL_CUBE",
  "model_name": "Tutorial_Model",
  "description": "desc tutorial
hjhkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk",
  "dimensions": [
    {
      "name": "DATE",
      "table": "DEFAULT.KYLIN_SALES",
      "derived": null,
      "column": "PART_DT"
    },
    {
      "name": "DERIVED_DATES",
      "table": "DEFAULT.KYLIN_CAL_DT",
      "derived": [
        "YEAR_BEG_DT",
        "QTR_BEG_DT",
        "MONTH_BEG_DT",
        "WEEK_BEG_DT"
      ],
      "column": null
    },
    {
      "name": "DEFAULT.KYLIN_SALES.LSTG_FORMAT_NAME",
      "table": "DEFAULT.KYLIN_SALES",
      "derived": null,
      "column": "LSTG_FORMAT_NAME"
    },
    {
      "name": "DEFAULT.KYLIN_SALES.LEAF_CATEG_ID",
      "table": "DEFAULT.KYLIN_SALES",
      "derived": null,
      "column": "LEAF_CATEG_ID"
    },
    {
      "name": "DEFAULT.KYLIN_SALES.LSTG_SITE_ID",
      "table": "DEFAULT.KYLIN_SALES",
      "derived": null,
      "column": "LSTG_SITE_ID"
    }
  ],
  "measures": [
    {
      "name": "transactions",
      "function": {
        "expression": "COUNT",
        "returntype": "bigint",
        "parameter": {
          "type": "constant",
          "value": 1,
          "next_parameter": null
        }
      }
    },
    {
      "name": "total_price",
      "function": {
        "expression": "SUM",
        "returntype": "decimal(19,4)",
        "parameter": {
          "type": "column",
          "value": "PRICE",
          "next_parameter": null
        }
      }
    },
    {
      "name": "min_price",
      "function": {
        "expression": "MIN",
        "returntype": "decimal(19,4)",
        "parameter": {
          "type": "column",
          "value": "PRICE",
          "next_parameter": null
        }
      }
    },
    {
      "name": "max_price",
      "function": {
        "expression": "MAX",
        "returntype": "decimal(19,4)",
        "parameter": {
          "type": "column",
          "value": "PRICE",
          "next_parameter": null
        }
      }
    },
    {
      "name": "distinct_sellers",
      "function": {
        "expression": "COUNT_DISTINCT",
        "returntype": "hllc12",
        "parameter": {
          "type": "column",
          "value": "SELLER_ID",
          "next_parameter": null
        }
      }
    },
    {
      "name": "top_seller",
      "function": {
        "expression": "TOP_N",
        "returntype": "topn(100)",
        "parameter": {
          "type": "column",
          "value": "PRICE",
          "next_parameter": {
            "type": "column",
            "value": "SELLER_ID",
            "next_parameter": null
          }
        }
      }
    }
  ],
  "rowkey": {
    "rowkey_columns": [
      {
        "column": "PART_DT",
        "encoding": "dict",
        "isShardBy": "false"
      },
      {
        "column": "LSTG_FORMAT_NAME",
        "encoding": "dict",
        "isShardBy": "false"
      },
      {
        "column": "LEAF_CATEG_ID",
        "encoding": "dict",
        "isShardBy": "false"
      },
      {
        "column": "LSTG_SITE_ID",
        "encoding": "dict",
        "isShardBy": "false"
      }
    ]
  },
  "aggregation_groups": [
    {
      "includes": [
        "PART_DT",
        "LSTG_FORMAT_NAME",
        "LEAF_CATEG_ID",
        "LSTG_SITE_ID"
      ],
      "select_rule": {
        "hierarchy_dims": [],
        "mandatory_dims": [],
        "joint_dims": []
      }
    }
  ],
  "partition_date_start": "2011-12-31",
  "notify_list": [],
  "hbase_mapping": {
    "column_family": [
      {
        "name": "f1",
        "columns": [
          {
            "qualifier": "m",
            "measure_refs": [
              "transactions",
              "total_price",
              "min_price",
              "max_price",
              "top_seller"
            ]
          }
        ]
      },
      {
        "name": "f2",
        "columns": [
          {
            "qualifier": "m",
            "measure_refs": [
              "distinct_sellers"
            ]
          }
        ]
      }
    ]
  },
  "retention_range": 15552000000,
  "status_need_notify": [
    "ERROR",
    "DISCARDED",
    "SUCCEED"
  ],
  "auto_merge_time_ranges": [
    2419200000
  ],
  "engine_type": 2,
  "storage_type": 2,
  "project": "tutorial"
}



--
View this message in context: 
http://apache-kylin.74782.x6.nabble.com/version-compability-tp5636p5658.html
Sent from the Apache Kylin mailing list archive at Nabble.com.

Reply via email to