小编And*_*nii的帖子

未调用AltBeacon onBeaconServiceConnect

我使用其示例坚持使用AltBeacon库实现简单的Beacon监视器.简而言之:我使用其参考应用程序,下载并在我的三星Galaxy S2上使用CM(Android 4.4.4)集成了其最新版本和运行应用程序.虽然调用了bindService,但我看到onBeaconServiceConnect回调从未调用过.我相信应该调用onBeaconServiceConnect以使应用程序正常工作.

我试过设置beaconManager.debug = true; 但它没有向我显示任何新日志(可能是因为我正在使用来自网站的预编译库).

此外,我已经检查了我的固件/硬件是否存在问题 - 但我发现它能够监控来自Google Play的其他应用程序的信标.我有iPhone和MacBook以及另外一个Android设备,所以我可以模拟让AltBeacon捕获它所需的任何传输信号.

有人能帮我吗?我很感激你给我的任何线索!

android ibeacon ibeacon-android android-ibeacon altbeacon

6
推荐指数
1
解决办法
3261
查看次数

AWS Data Pipeline:Tez 在简单的 HiveActivity 上失败

我正在尝试为我的 POC 运行简单的 AWS Data Pipeline。我的情况如下:从存储在 S3 上的 CSV 获取数据,对它们执行简单的 hive 查询并将结果放回 S3。

我创建了非常基本的管道定义,并尝试在不同的 emr 版本上运行它:4.2.0 和 5.3.1 - 尽管在不同的地方都失败了。

所以管道定义如下:

{
  "objects": [
    {
      "resourceRole": "DataPipelineDefaultResourceRole",
      "role": "DataPipelineDefaultRole",
      "maximumRetries": "1",
      "enableDebugging": "true",
      "name": "EmrCluster",
      "keyPair": "Jeff Key Pair",
      "id": "EmrClusterId_CM5Td",
      "releaseLabel": "emr-5.3.1",
      "region": "us-west-2",
      "type": "EmrCluster",
      "terminateAfter": "1 Day"
    },
    {
      "column": [
        "policyID INT",
        "statecode STRING"
      ],
      "name": "SampleCSVOutputFormat",
      "id": "DataFormatId_9sLJ0",
      "type": "CSV"
    },
    {
      "failureAndRerunMode": "CASCADE",
      "resourceRole": "DataPipelineDefaultResourceRole",
      "role": "DataPipelineDefaultRole",
      "pipelineLogUri": "s3://aws-logs/datapipeline/",
      "scheduleType": "ONDEMAND",
      "name": "Default",
      "id": …
Run Code Online (Sandbox Code Playgroud)

hadoop amazon-web-services amazon-data-pipeline tez

6
推荐指数
1
解决办法
1083
查看次数