小白walk 2018-09-29 02:29 采纳率: 0%
浏览 1263

Error:(170, 11) object <none> is not a member of package scala

val dispose_Infos = dispose_Infos_befor.map(it => {
(it._1, it._2, it._3, it._4, it._5.msg, it._5.rpt_type, it._5.pt, it._5.app_version, it._5.lid, it._5.channel, it._5.pid, it._5.device_type, it._5.language, it._5.typee, it._5.uuid, it._5.resolution, it._5.minuteKey, it._5.secondKey, it._5.dt, it._5.path, it._5.browser_major, it._5.appId, it._5.host, it._5.longitude, it._5.ac, it._5.ip, it._5.en, it._5.version, it._5.hvalue, it._5.tags, it._5.monthKey, it._5.openId, it._5.timezone, it._5.latitude, it._5.sid, it._5.times, it._5.city_name, it._5.os_api, it._5.yearKey, it._5.dateKey, it._5.browser, it._5.versionn, it._5.ann_version, it._5.country_code2, it._5.country_name, it._5.client, it._5.dpi, it._5.timestamp, it._5.md5value, it._5.geoip, it._5.os, it._5.forward, it._5.dateWeekKey, it._5.os_version, it._5.reffer, it._5.logdateTime, it._5.weekKey, it._5.message, it._5.referrer, it._5.app_name, it._5.timestampp, it._5.houreKey, it._5.device_brand, it._5.response, it._5.bytes, it._5.tk, it._5.userDevice)
})

            其中的it._5是映射的自己建的一个类,点出来他所有的属性用hive存储。

            错误如下:
            Error:(170, 11) object <none> is not a member of package scala
      (it._1, it._2, it._3, it._4, it._5.msg, it._5.rpt_type, it._5.pt, it._5.app_version, it._5.lid, it._5.channel, it._5.pid, it._5.device_type, it._5.language, it._5.typee, it._5.uuid, it._5.resolution, it._5.minuteKey, it._5.secondKey, it._5.dt, it._5.path, it._5.browser_major, it._5.appId, it._5.host, it._5.longitude, it._5.ac, it._5.ip, it._5.en, it._5.version, it._5.hvalue, it._5.tags, it._5.monthKey, it._5.openId, it._5.timezone, it._5.latitude, it._5.sid, it._5.times, it._5.city_name, it._5.os_api, it._5.yearKey, it._5.dateKey, it._5.browser, it._5.versionn, it._5.ann_version, it._5.country_code2, it._5.country_name, it._5.client, it._5.dpi, it._5.timestamp, it._5.md5value, it._5.geoip, it._5.os, it._5.forward, it._5.dateWeekKey, it._5.os_version, it._5.reffer, it._5.logdateTime, it._5.weekKey, it._5.message, it._5.referrer, it._5.app_name, it._5.timestampp, it._5.houreKey, it._5.device_brand, it._5.response, it._5.bytes, it._5.tk, it._5.userDevice)
                求教大神。
  • 写回答

1条回答 默认 最新

  • 小白walk 2018-11-10 08:49
    关注

    此问题是因为元组不能超过22个。所以用Row的方式返回。

    评论

报告相同问题?

悬赏问题

  • ¥15 MATLAB动图的问题
  • ¥15 求差集那个函数有问题,有无佬可以解决
  • ¥15 【提问】基于Invest的水源涵养
  • ¥20 微信网友居然可以通过vx号找到我绑的手机号
  • ¥15 寻一个支付宝扫码远程授权登录的软件助手app
  • ¥15 解riccati方程组
  • ¥15 display:none;样式在嵌套结构中的已设置了display样式的元素上不起作用?
  • ¥15 使用rabbitMQ 消息队列作为url源进行多线程爬取时,总有几个url没有处理的问题。
  • ¥15 Ubuntu在安装序列比对软件STAR时出现报错如何解决
  • ¥50 树莓派安卓APK系统签名